some minor changes to the language tagger