A family of parallel hidden Markov models