updated crf and unsupervised hmm