SMS: The mathematics of language