speech recognition - Pocketsphinx recognizes random phrases in a silence -
i have pocketsphinx installed on raspberry pi , microphone connected it. when run pocketsphinx_continuous using command
pocketsphinx_continuous -inmic yes -dict dict.dict -hmm /home/pi/zero_ru.cd_cont_4000 -jsgf mygrammar.gram
it starts recognize random phrases (but in cases same phrase) when not speaking. , when do, result same. use acoustic model russian language. please, need help.
you need use keyword spotting mode.
pocketsphinx supports keyword spotting mode can specify keyword list for. advantage of mode can specify threshold each keyword keyword can detected in continuous speech. other modes try detect words grammar if used words not in grammar. keyword list looks this:
oh mighty computer /1e-40/ hello world /1e-30/ other phrase /1e-20/
to run pocketsphinx keyword list use:
pocketsphinx_continuous -inmic yes -dict dict.dict -hmm /home/pi/zero_ru.cd_cont_4000 -kws keyword.list
threshold must specified every keyphrase. shorter keyphrase can use smaller thresholds 1e-1, longer threshold must bigger. threshold must tuned balance between false alarms , missed detections, best way tune threshold use prerecorded audio file.
for best accuracy better have keyphrase 3-4 syllables. short phrases confused.
Comments
Post a Comment