sphinx3 to pure data

1- Basic software installation

sudo apt-get install build-essential autoconf libtool automake libasound2-dev python-dev subversion sox libsox-fmt-all

2- Getting and installing Sphinx3


mkdir sphinx && cd sphinx
tar xzpf sphinx3...
tar xzpf sphinxbase...
cd sphinxbase
./autogen.sh --prefix=/usr/local
make && make install
cd sphinx3
./autogen.sh --prefix=/usr/local
make && make install
cd python
nano setup.py (MODIFY THE PATHS)
python setup.py install

3- Download the patch, python script and lexical

wget http://puredata.info/Members/patrick/sphinx2pd
tar xzpf sphinx2pd.tar.gz
cd sphinx2pd
pd sphinx2pd.pd

Make your own lexical and language modeling files (optional)
Upload your textfile containing your puredata commands here:

Download the gzip’d tar file & unzip it to /dic
Dump in binary:

svn co https://cmusphinx.svn.sourceforge.net/svnroot/cmusphinx/trunk/share/lm3g2dmp
cd lm3g2dmp && make && cd ..
lm3g2dmp/lm3g2dmp dic/XXXX.sent.arpabo dic
mv dic/XXXX.sent.arpabo.DMP dic/pd.dmp
mv dic/XXXX.dic dic/pd.dic


07 2009

Your Comment