implemented LanguageModule to match Templates to Sequences