hidden-markov-model Bigram and trigram HMMs trained with relative frequency estimation and inference done by the Viterbi algorithm.