Hello! I'm using pocketsphinx for Android. This is my default settings:
recognizer = defaultSetup() .setAcousticModel(new File(assetsDir, "ru-us-ptm")) .setDictionary(new File(assetsDir, "cmudict-ru-us.dict")) .setRawLogDir(assetsDir) .setKeywordThreshold(1e-7f) .setBoolean("-allphone_ci", true) .getRecognizer(); recognizer.addKeyphraseSearch(KWS_SEARCH, KEYPHRASE);
Also, I have two hot words: private final String KEYPHRASE = "окей адм";
The problem is that recognizer.startListening can catch the first word without second.
What i'm doing wrong? Please, help.
You can set more tough threshold like 1e-3 to avoid false alarms.
In case you can not find a good threshold you can try longer keyphrase.
Thank you, I will try it.
It didn't help me. Recognizer still catсhing first word .
It didn't help me. Recognizer still catching first word.
I did it) Sorry, That was my mistace.
Log in to post a comment.
Hello! I'm using pocketsphinx for Android. This is my default settings:
Also, I have two hot words: private final String KEYPHRASE = "окей адм";
The problem is that recognizer.startListening can catch the first word without second.
What i'm doing wrong? Please, help.
Last edit: Anton Lunegov 2015-10-15
You can set more tough threshold like 1e-3 to avoid false alarms.
In case you can not find a good threshold you can try longer keyphrase.
Thank you, I will try it.
It didn't help me. Recognizer still catсhing first word .
It didn't help me. Recognizer still catching first word.
I did it) Sorry, That was my mistace.