Introduction to Mathematical Linguistics