This is an implementation of Hidden Markov Model (HMM) deveoped by C++. Both supervised and unsupvised training methods are developed.
HMM is a generative model
The supervised HMM is very intituive and we simply count the transition and emission.
Both the hard EM and soft EM method are implemented.