Compiling and Using CMU Sphinx in GNU Debian Linux

CMU Sphinx, also called Sphinx in short, is the general term to describe a group of speech recognition systems developed at Carnegie Mellon University. These include a series of speech recognizers (Sphinx 2 – 4) and an acoustic model trainer (SphinxTrain). Here are brief steps for compilation and usage of CMU Sphinx in Debian.

  1. Download sphinxbase and pocketsphinx from github:
  2. Install prerequisite packages  as:
  3.   Add write access to /usr/local for current user as:
  4. Export following paths:
  5. Change directory to sphinx base and compile it:
  6. In case of any update:
  7. Then change directory to pocketsphinx and compile it:
  8. In case of any update:
  9. To test run below command and wait for ready. Say a word in microphone and it will guess and type that word: