add hmm train