Virtual assistant with offline voice recognition for Raspberry Pi
MPL-2.0 License
Virtual assistant with offline voice recognition. Despite being primarily designed for Raspberry Pi, it should compile on any computer running Linux or macOS.
nvm install 6
apt-get install cmake pkg-config libpcre3-dev bison
swig
from GitHubsphinxbase
from GitHubpocketsphinx
from GitHubexport PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
ln -s /usr/bin/swig3.0 /usr/bin/swig
(Create a symlink for swig3.0
)npm install cmake-js -g
apt-get install festival festvox-rablpc16k
npm install
OkPi
) is in the same folder as the cloned pocketsphinx
repository
npm run start
npm run watch
npm run launch
(in a separate terminal)The application roughly implements the following structure:
Speech input
AudioInput
SpeechRecognitionEngine
UtteranceProcessor
Skill
OutputFacade