There is now pocketsphinx in 100% javascript
I just came across pocketsphinx in 100% javascript! See this repository: https://github.com/syl22-00/pocketsphinx.js.
Would it be an idea to use that instead of the c-version: it cuts down on dependencies and might increase usability and ease-of-use tremendously
Nifty! Part of the purpose of this project was eventually to get speech recognition support on lower-end hardware, e.g. Raspberry Pi. Do we think an emscripten implementation would have good enough performance on that kind of hardware?
On Wed, Oct 8, 2014 at 7:23 AM, Willem Mulder [email protected] wrote:
I just came across pocketsphinx in 100% javascript! See this repository: https://github.com/syl22-00/pocketsphinx.js.
Would it be an idea to use that instead of the c-version: it cuts down on dependencies and might increase usability and ease-of-use tremendously
— Reply to this email directly or view it on GitHub https://github.com/moneppo/node-pocketsphinx/issues/4.
Emscripten is said to have 70% of native performance, which is pretty nice. Also, it prevents talking from Nodejs to Sphynx and back, so there's some gain there.
By the way: there's notes about performance on the wiki page: https://github.com/syl22-00/pocketsphinx.js#8-notes-about-speech-recognition-and-performance but don't get confused when it says "it has the same performance as other compiled versions"; the wiki is talking about performance as in 'how good is it in recognizing text' not 'how fast is it'.
Yea, I read that. 70% seems pretty good! Emscripten is some black magic.
I may still keep node-pocketsphinx up - we have some improvements in the pipe. However I will add a link to this project so people can make good decisions.
Thanks for the link!
On Wed, Oct 8, 2014 at 9:45 AM, Willem Mulder [email protected] wrote:
Emscripten is said to have 70% of native performance, which is pretty nice. Also, it prevents talking from Nodejs to Sphynx and back, so there's some gain there.
By the way: there's notes about performance on the wiki page: https://github.com/syl22-00/pocketsphinx.js#8-notes-about-speech-recognition-and-performance but don't get confused when it says "it has the same performance as other compiled versions"; the wiki is talking about performance as in 'how good is it in recognizing text' not 'how fast is it'.
— Reply to this email directly or view it on GitHub https://github.com/moneppo/node-pocketsphinx/issues/4#issuecomment-58359259 .
Sure! And you thanks for node-pocketsphinx :-)