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/pi235 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
Set up Chromecast in seven simple steps!
Ben Ben (11)
0

Most smart TVs today also double as Chromecast receivers, allowing you to "cast" content from smartphones and computers to a bigger screen using the Google Cast protocol.