community:pocketsphinx

This is an old revision of the document!


PocketSphinx (and Flite)

PocketSphinx is one of Carnegie Mellon University's open source large vocabulary, speaker-independent continuous speech recognition engine.

List of requested packages :

  • Sphinx Base V0.4.99 : sphinxbase-0.4.99-latest.tar.gz → 5prealpha
  • Pocket Sphinx : pocketsphinx-0.5.99-latest.tar.gz → 5prealpha
  • uniMRCP V1.3.0 : unimrcp-1.3.0.tar.gz
  • uniMRCP deps V1.3.0 : unimrcp-deps-1.3.0.tar.gz
  • Asterisk 11 : asterisk-11-current.tar.gz
  • Asterisk uniMRCP V1.3.1 : asterisk-unimrcp-1.3.1.tar.gz
  • Flite V2.0.0 : flite-2.0.0-release.tar

Compile the PocketSphinx :

Follow the uniMRCP documented steps : https://code.google.com/p/unimrcp/wiki/PocketSphinxPlugin

  • On Debian add: python, python-dev, swig.
  • Compile SphinxBase (configure + make)
  • Compile PocketSphinx (configure + make)
  • Compile Flite (configure CFLAGS=“-fPIC” + make)
  • Patch the uniMRCP with the files (in patchs/asterisk-unimrcp CVS module)
    • unimrcp/configure.ac
    • unimrcp/plugins/Makefile.am
    • unimrcp/plugins/mrcp-pocketsphinx (directory)
    • unimrcp/plugins/mrcp-pocketsphinx (directory)
    • unimrcp/build/acmacros/*.m4
  • Change directory to unimrcp, and execute the bootstrap
  • Compile mrcp-pocketsphinx with :
    • ./configure –enable-pocketsphinx-plugin –with-pocketsphinx=/datas/voicebrowser/pocketsphinx-5prealpha –with-sphinxbase=/datas/voicebrowser/sphinxbase-5prealpha
  • Compile mrcp-flite with :
    • ./configure –enable-flite-plugin –with-flite=/datas/voicebrowser/flite-2.0.0-release CFLAGS=“-fPIC”
  • community/pocketsphinx.1447195379.txt.gz
  • Last modified: 2015/11/10 22:42
  • by borja