pocketsphinx.js icon indicating copy to clipboard operation
pocketsphinx.js copied to clipboard

Flushing the hypothesis after matching

Open precociousmouse opened this issue 8 years ago • 0 comments

Hi there, I am currently working on a demo based on the keyword search demo which, when receiving a positive match on a keyword, plays an audio sample. However, pocketsphinx keeps returning a positive after the first match so the audio keeps repeating. Is there a way to flush the hypothesis to prevent this from happening?

I have stopped and started the recorder after a correct hit but no luck.

thanks!

precociousmouse avatar Apr 19 '17 10:04 precociousmouse