Trigram part for Tri-tagger