Reputation: 1095
I read many articles on this but I just do not understand how I have to proceed.
I'm trying to build a basic Speech recognition system using the MFCC features to the HMM , I'm using the data available here. I'm using Matlab to do this.
So far I have extracted the MFCC vectors from the speech files using this library. What I do not understand is how do I use these features for HMM.
Can you please explain how do I train the HMM. I'm using the hmm implementation found in matlab. Please do not refer me to other libraries as i am actually trying to understand how hmm's work.
How do I initialize the transition and emission matrices?
I'm supposing each state emits a particular phoneme in the word, So to train the HMM how are we supposed to pass the MFCC vectors?
What are the steps I should take to train the HMM?
The matlab implementation functions of the HMM are given here
Edit: it's been a long time, but I suppose the question is still relevant by the amount of views it hit, I did solve this the code can be found on my GitHub
Upvotes: 3
Views: 3812
Reputation: 25220
You can not use this hmm to train speech HMM from MFCC vector. This framework supports number sequences only, it does not support feature vectors. It is a simple discrete HMM toolbox.
You have to use speech-oriented library like this one:
http://www.cs.ubc.ca/~murphyk/Software/HMM/hmm.html
Upvotes: 1