9 Hidden semi-Markov models