Menu

performace of sphinx-4

Help
CMOS
2008-03-26
2012-09-22
  • CMOS

    CMOS - 2008-03-26

    hi,
    i've seen some performance comparisons between sphinx-3 with sphinx-4 and they seemed like sphinx-4 performs better than sphinx-3. Im bit confused on this because sphinx-4 is written in JAVA and sphinx-3 in C. Can some one explain the reason? is it because sphinx-4 utilize better algorithms?
    And for real time tasks with large loads (high volume of audio data to be converted to text), what is the recommended version (3 or 4)?

    thank you

     
    • David Huggins-Daines

      It's mainly because Java, particularly recent versions of the JVM, is actually quite fast once your code has been running for a while, as long as you have enough memory. Also, Sphinx4 was partially written by people at Sun who understood very well how to make Java code fast.

      Sphinx4 currently has difficulty dealing with large vocabularies, though.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.