How to install PocketSphinx on a Raspberry Pi

Tyler Tyler (304)
5 minutes

This guide will show you how to install PocketSphinx on your Raspberry Pi. PocketSphinx is a super lightweight speech and voice recognition engine.

Posted in these interests:
h/pi231 guides
h/linux41 guides
h/sphinx1 guide

You can find the downloads on GitHub

wget https://sourceforge.net/projects/cmusphinx/files/sphinxbase/5prealpha/sphinxbase-5prealpha.tar.gz/download -O sphinxbase.tar.gz
wget https://sourceforge.net/projects/cmusphinx/files/pocketsphinx/5prealpha/pocketsphinx-5prealpha.tar.gz/download -O pocketsphinx.tar.gz
tar -xzvf sphinxbase.tar.gz
tar -xzvf pocketsphinx.tar.gz
sudo apt-get install bison libasound2-dev swig
cd sphinxbase-5prealpha
./configure --enable-fixed
make
sudo make install
cd ../pocketsphinx-5prealpha
./configure
make
sudo make install
src/programs/pocketsphinx_continuous -samprate 48000
Install Dropbox on Raspberry Pi in seven simple steps!
Ben Ben (10)
1 hour

If you're trying to keep your important files and folders synced across all of your devices, one of the best methods is to use a cloud storage provider like Dropbox.