Text this: Theory of cortical plasticity