Text this: Grammar and typology