From http://sujitpal.blogspot.it/2013/03/the-wikipedia-bob-alice-hmm-example.html HMM scikit