Brille/CMUSphinx

CMUSphinx

 CMUSphinx is a family of speech recognition libraries. We plan to use  PocketSphinx which is the simplest C version, that should be able to run on PDAs.

Current required downloads:

Compilation instructions

An easy howto for setting up...

Requirements

Ubuntu

You need to install python-dev. For GStreamer support, you need to install libgstreamer-plugins-base0.10-dev (which automatically installs libgstreamer0.10-dev)

Environment setup

Put this in a file called something like sphinx-env and source it before using anything else (see brille/prototype/sphinx-env)

export SPHINX_DIR=$HOME/work/brille/sphinx
export SPHINX_PYTHON=$SPHINX_DIR/install/lib/python2.5/site-packages/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SPHINX_DIR/install/lib/
export PATH=$PATH:$SPHINX_DIR/install/bin/
export PYTHONPATH=$PYTHONPATH:$SPHINX_PYTHON
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$SPHINX_DIR/install/lib/pkgconfig/

SphinxBase

These are the libraries that all the other Sphinx editions use

mkdir -p $SPHINX_DIR/libs
cd $SPHINX_DIR/libs
tar xjf sphinxbase-0.4.tar.bz2
cd sphinxbase-0.4
./configure --prefix=$SPHINX_DIR/install
make # takes about 30 seconds
mkdir -p $SPHINX_PYTHON
make install

PocketSphinx

cd $SPHINX_DIR/libs
tar xjf pocketsphinx-0.5.tar.bz2
cd pocketsphinx-0.5
./configure --with-sphinxbase=$SPHINX_DIR/libs/sphinxbase-0.4/ --prefix=$SPHINX_DIR/install
make
make install

Using SVN

You can checkout from SVN using the following URLs: