I'm working on the pocketsphinx android demo. I see the startListening() method takes a timeout parameter, but it seems that the recognizer will only wait for that time before the speech. The onTimeout() callback is called immediately(like 0.5s) after I stop talking. Is there any way to tell the recognizer to call the onTimeout() method after certain seconds of slience rather than right away?
Last edit: Yang 2015-09-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm working on the pocketsphinx android demo. I see the startListening() method takes a timeout parameter, but it seems that the recognizer will only wait for that time before the speech. The onTimeout() callback is called immediately(like 0.5s) after I stop talking. Is there any way to tell the recognizer to call the onTimeout() method after certain seconds of slience rather than right away?
Last edit: Yang 2015-09-16
When you stop talking you should get
onEndOfSpeechcallback, notonTimeout.onTimeoutis must be still emitted after specified number of milliseconds.