Pocketsphinx Android doesn't return probability. It is always 0.
2015-07-23
2015-07-27
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
The probability of recognition results is always 0.
I am using Pocketsphinx for Android.
Then I am trying to get probability of results and it always returns 0.
How can I get the right value of probability?
It depends on the search type you are using.
I am using a grammar search.
File fieldGrammar = new File(assetsDir, "keywords.gram");
recognizer.addGrammarSearch(KEYWORD_SEARCH, keywordsGrammar);
What search type should I use to get probability results?
Confidence is not supported for grammar searches. Only in keyword or language model searches.