Text this: Similarity of cortical activity patterns predicts generalization behavior.