Mathematical Linguistics and the Teaching Process