Ungrammatical grammar in pattern recognition · Study