Compile Sphinxbase:
cd sphinxbase-5prealpha
./configure –enable-fixed
make
sudo make install
sudo pip3 install pocketsphinx
Sphinxbase is a package contains the basic libraries that Pocketsphinx requires.
More information:
https://github.com/cmusphinx/sphinxbase
The ./configure scrip is responsible for getting ready to build the software on your specific
system.(Get ready to build the software)
The make scrip runs a series of tasks to build the finished program from its source code.
(Build the software, get ready to install the software)
The sudo make install command will copy the built program, and its libraries and
documentation, to the correct location.(Install the software)
More information:
https://robots.thoughtbot.com/the-magic-behind-configure-make-make-install
Compile Pocketsphinx:
Pocketsphinx is a part of CMU Sphinx Open Source Toolkit for Speech Recognition.
More information:
https://github.com/bambocher/pocketsphinx-python
cd ../pocketsphinx-5prealpha
./configure
make
sudo make install
Then you can install SpeechRecognition:
sudo pip3 install SpeechRecognition
SpeechRecognition is a library for performing speech recognition, with support for several
engines and APIs, online and offline.
Homepage: https://github.com/Uberi/speech_recognition#readme