Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CMUSphinx live speech recognition too slow?

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");
like image 747
Xmac Avatar asked Oct 26 '25 03:10

Xmac


1 Answers

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.

like image 107
Nikolay Shmyrev Avatar answered Oct 28 '25 15:10

Nikolay Shmyrev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!