Adaptive mixtures of probabilistic transducersSwitching portfoliosTraining algorithms for hidden Markov models using entropy based distance functions