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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.