Text this: Syntactic pattern recognition: an introduction