Jul 18, 2010
I'm making an application that requires me to perform speech recognition from a wave file that contains some speech. I know what the words in the wave file could be.So, I need to compare these words from a small custom grammar/dictionalr instead of a whole built in large vocabulary.
View 1 Replies
I have done the recognition part with the default system large vocabulary but now just need to use my own vocabulary.
Suppose that the words that the user can say are:
hundred degree celcius,
Then, how shall I write my XML Grammar? I suppose that if I use the limited small vocabulary, then my accuracy of recognition would increase. Right now, ive a wave file in Microsoft Mary's voice saying "Hello". But with the large default vocabulary its recognising it as "All though". Is my assumption correct that with the above mentioned 5 words in the vocabulry, it will recognise it as Hello only?
Ive been looking at the internet but can't find solution to my specific problem regarding making a simple grammar. In most documents its mentioning using external grammar and about several of the attributes posssible, including sementics, etc, etc. But my vocabulary is not very complicated or difficult. And I don't want to get into too much detail at the moment as I would be deviating from my project itself..
So using the following code:
Grammar = RecoContext.CreateGrammar
What should be the content of the CustomGrammar.xml?