Text this: Cortical circuits for cross-modal generalization