Applications of the Mathematical Theory of Linguistics