Could anyone recommend a speech recognition library for python 3 which is completely offline and free? If so could you also add steps to installing this library. I have tried pocketsphinx
but the live speech recognition is too inaccurate for what I would like.
Add a comment
|
You can try Kaldi, it is not easy to install, but it is more accurate than pocketsphinx. For local decoding you can use something like
https://github.com/alphacep/vosk-server/
the model is here http://kaldi-asr.org/models/m1
-
Thank you, I'll give it another go installing on Ubuntu because at this point I can't get it to work on Mac OS. If I can install Kaldi then I'll try the websocket. Thank you, if it works I will mark as answered. – diffLocks16 Aug 28 '19 at 1:02
-
I can't get it to work. I installed Kaldi from here jrmeyer.github.io/asr/2016/01/26/Installing-Kaldi.html but the websocket can't find the directory
voice data
and won't build. So no idea anymore. – diffLocks16 Aug 31 '19 at 1:42 -
-
OK thank you. I got past that error and then about five others but there is another one I'm stuck on. This is what I get...
D1Ev' can not be used when making a shared object; recompile with -fPIC/usr/bin/ld: final link failed: Bad valuecollect2: error: ld returned 1 exit status
. I get it while running make for the web-socket. – diffLocks16 Sep 1 '19 at 1:10 -