Hidden Markov models for sequence analysis: extension and analysis of the basic method | Synapse