Text this: Mathematical models in linguistics