CMUSphinx live speech recognition too slow?

雨燕双飞 提交于 2019-12-07 15:48:07

问题


CMU Sphinix is toooo Slow for recognizing live speech.I don't know if you have any idea for boost it?

This is my configuration:

configuration.setAcousticModelPath("WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz");
configuration.setDictionaryPath("cmudict.0.6d");
configuration.setLanguageModelPath("en-us.lm.dmp");

回答1:


We are currently working on speedup, but for now sphinx4 is not realtime for large vocabulary. It's actually not a trivial task.

If you want a fast and not very accurate transcription you can edit default.config.xml in sphinx4 sources and recompile:

  <property name="absoluteBeamWidth"  value="10000"/>
  <property name="relativeBeamWidth"  value="1e-60"/>
  <property name="absoluteWordBeamWidth"  value="50"/>
  <property name="relativeWordBeamWidth"  value="1e-40"/>

Then it will work realtime.



来源:https://stackoverflow.com/questions/26925322/cmusphinx-live-speech-recognition-too-slow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!