Pocketsphinx - How to use decoder.getInSpeech() with decoder.processRaw
2018-08-06
2018-08-06
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Hi,
Trying to detect speech on Androd device using processRaw.
I have the following config setup:
en-us.lm.bin language model
en-us-ptm acoustic model
cmudict-en-us.dict dictionary
also setting remove_noise to True and samprate to 8000
I want to do a Ngram Search.
Currenly my loop looks like:
When to call getInSpeech() ? and what is the optimal slice/chunk to use for processRaw?
Thanks.