Speech recognition PocketSphinx-如何理解getHypstr()何时返回空值,而getInSpeech()何时返回真值?
正在使用processRaw尝试edu.cmu.sphinx.pocketsphinx以检测沉默 使用以下配置: en-us.lm.bin语言模型 en-us-ptm声学模型 cmudict-en-us.dict字典 同时将remove_noise设置为True,将samprate设置为8000 我想做一个Ngram搜索 当While循环调用processRaw完成时,我同时调用这两个函数 假设。getHypstr()和 解码器。getInSpeech() 为什么getHypstr返回空,而getInSpeech返回True,而实际上在提供给processRaw的输入参数中没有语音Speech recognition PocketSphinx-如何理解getHypstr()何时返回空值,而getInSpeech()何时返回真值?,speech-recognition,cmusphinx,pocketsphinx,pocketsphinx-android,Speech Recognition,Cmusphinx,Pocketsphinx,Pocketsphinx Android,正在使用processRaw尝试edu.cmu.sphinx.pocketsphinx以检测沉默 使用以下配置: en-us.lm.bin语言模型 en-us-ptm声学模型 cmudict-en-us.dict字典 同时将remove_noise设置为True,将samprate设置为8000 我想做一个Ngram搜索 当While循环调用processRaw完成时,我同时调用这两个函数 假设。getHypstr()和 解码器。getInSpeech() 为什么getHypstr返回空,而ge
谢谢。En us ptm是16khz型号,采样率为8000时不工作。这会导致hypstr的不良结果
如果getInSpeech返回true,则可能意味着系统接受了一个小噪音作为语音。是否从下载了cmusphinx-en-us-ptm-8khz-5.2,并将其内容复制到pocketsphinx android demo\app\src\main\assets\sync\en-us ptm中?是的,这一个更好