TrigramHMMwithViterbi