Add class HMMRecognizer