Text this: Pattern theory