A Haskell implementation of the Viterbi algorithm, a dynamic programming algorithm for maximum-likelihood state sequence estimation in HMMs.