hidden Markov models and mixture models