Right because recognizer was unable to find final hypothesis in recognition result due to inaccurate recognition. To get help on accuracy you need to provide the test data you are trying to decode.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You already got most likely result and this result is empty. Somehow probability of the empty result was significantly higher than the probability of any final result. To get suggestions on that you need to provide an audio. There are also more accurate models in our downloads like en-us generic.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okey that makes sense.
The audio file is pretty unaccurate to test the behaviour since I can only return a valid sentence of the grammar.
The accurate files are recognized just fine.
Thanks for your help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm just getting started with sphinx and adopted the transcriber demo to use my own grammar:
This works as expected and the hypothesis i get is: add keyboard end.
Now the strange part.
When i change the item line to:
The hypothesis is: add keyboard. So the end is missing.
This shouldnt happen since the "end" is mandatory, right?
Thanks for your help
Last edit: Nickolay V. Shmyrev 2014-06-11
No
JSGF describes a sequence of words, not the full recognition result.
So how do i force to only consider the whole rule as a result?
It depends on sphinx4 version you are using
sphinx4-5prealpha
There is no support for that in the api yet, you have to edit sources. Change the following in edu.cmu.sphinx.api.SpeechResult:
to
That will force recognizer to return final result.
After this change i don't get any hypothesis in the second case.
Right because recognizer was unable to find final hypothesis in recognition result due to inaccurate recognition. To get help on accuracy you need to provide the test data you are trying to decode.
Is it possible to get the most likely result although the accuracy is very low?
You already got most likely result and this result is empty. Somehow probability of the empty result was significantly higher than the probability of any final result. To get suggestions on that you need to provide an audio. There are also more accurate models in our downloads like en-us generic.
Okey that makes sense.
The audio file is pretty unaccurate to test the behaviour since I can only return a valid sentence of the grammar.
The accurate files are recognized just fine.
Thanks for your help