A generalization of discrete hidden Markov model and of Viterbi algorithm | IEEE Conference Publication | IEEE Xplore