Police investigate racist comments in Ripon