Brains encode language by matching words to patterns of activity. Large language models can do the same thing.