Use tagger to get the POS tags of the preceding words in GrammarModel