I'm just starting out with pocketsphinx for use on an AI project. I've downloaded and installed pocketphinx, sphinxbase, and sphinxtrain. The system appears to be working just fine from the Linux command line. But I don't know how to access it from Python3.
Can anyone point me to any tutorials on how to use pocketsphinx from Python3?
I currently have the system set up on a Raspberry Pi 4 using Ubuntu 18.04 OS. I'm using Code-OSS as the Python IDE.
I can't seem to find any clear tutorials on how to set things up so Python can make use of pocketsphinx.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm just starting out with pocketsphinx for use on an AI project. I've downloaded and installed pocketphinx, sphinxbase, and sphinxtrain. The system appears to be working just fine from the Linux command line. But I don't know how to access it from Python3.
Can anyone point me to any tutorials on how to use pocketsphinx from Python3?
I currently have the system set up on a Raspberry Pi 4 using Ubuntu 18.04 OS. I'm using Code-OSS as the Python IDE.
I can't seem to find any clear tutorials on how to set things up so Python can make use of pocketsphinx.
Thanks.
I recommend you to try vosk-api, a modern toolkit with higher accuracy:
http://github.com/alphacep/vosk-api
The installation on rpi4 is simple
pip3 install vosk
Code samples are here: https://github.com/alphacep/vosk-api/tree/master/python/example