Text this: Stereotyping as inductive hypothesis testing