How to install PocketSphinx on a Raspberry Pi

Tyler Tyler (282)
Total time: 5 minutes 
Updated: April 9th, 2019

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:

pi
PRIMARY
175 guides
linux
37 guides
sphinx
1 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
We’re hiring!
Are you a passionate writer or editor? We want to hear from you!

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Leave a Reply

Your email address will not be published. Required fields are marked *