CMUSphinx live speech recognition too slow?

2019-05-14 08:19发布

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条回答
贪生不怕死
2楼-- · 2019-05-14 08:54

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.

查看更多
登录 后发表回答