Menu

Speech end detection on pocketsphinx android demo

Help
Yang
2015-09-16
2015-10-13
  • Yang

    Yang - 2015-09-16

    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
    • Nickolay V. Shmyrev

      When you stop talking you should get onEndOfSpeech callback, not onTimeout. onTimeout is must be still emitted after specified number of milliseconds.

       

Log in to post a comment.