Mathematical Methods in Linguistics