Inference for Hidden Markov and Semi-Markov models
