SMS dit: Syntactic pattern recognition: an introduction