Text this: The mathematics of language