Text this: Statistical Mechanics of Learning