I use Pocketsphinx in my Android app. I recognize speech using addGrammarSearch (String name, File file). When there is noise around, then Pocketsphinx catches it and recognizes it as a word or phrase from the grammar. But the word was not uttered. Is there any parameter in the hypothesis, which shows how much the recognized sound is like a word from a grammar? What method can I get this parameter? I want to filter out the recognized sound, which has a low value, that is, it does not look like a word in the grammar.
相关问题
- Keyword is not detected using pocketsphinx on andr
- Long audio speech recognition on Android
- Define a new keyword in pocket sphinx
- Interfacing LIVE SPEECH with Tkinter GUI
- Swig not found when installing pocketsphinx Python
相关文章
- Long audio speech recognition on Android
- Define a new keyword in pocket sphinx
- Interfacing LIVE SPEECH with Tkinter GUI
- Swig not found when installing pocketsphinx Python
- PocketSphinx android demo runtime exception
- doing actions after sound recognization in android
- Pocketsphinx decoder initialization returns -1
- 是否pocketsphinx刷新标准输出?(Does pocketsphinx flush stdo
This answer has an approach you may find useful -- that is, if you can tolerate using a keyword list instead of a full grammar. (Note that keywords do not have to be single words.) With
SpeechRecognizer.addKeywordSearch()
, you can set "thresholds" for each keyword, which is critical to reducing false positives.The thresholds are usually found via experimentation. The closer it is to
1e-50
, the more likely you are to get a false positive. The closer it is to1e0
, the more likely you are to miss a valid utterance.