How to install PocketSphinx on a Raspberry Pi

John John (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/pi253 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
Eat 'em, freeze 'em, enjoy 'em all week long!
Tayler Tayler (75)
35 minutes

Nothing says good morning quite like a breakfast sandwich. From the doughiness of the muffin to the eggs' fluffiness to the cheese's gooeyness, breakfast sandwiches are a great start to your morning.