alexylem / jarvis

Jarvis.sh is a simple configurable multi-lang assistant.
http://openjarvis.com
MIT License
810 stars 197 forks source link

Snowboy installation documentation on x86 or any Linux system #660

Open Oliv4945 opened 7 years ago

Oliv4945 commented 7 years ago

Hi,

I just reinstalled Snowboy on a computer without precompiled binaries, and it was not difficult but not obvious. Maybe it might be good to put those lines somewhere, or even inside Jarvis ?

# Install snowboy
export JARVIS_PATH=/home/USER/git/jarvis # Path to Jarvis directory
git clone https://github.com/Kitt-AI/snowboy.git
sudo apt-get install python-pyaudio python3-pyaudio sox libatlas-base-dev swig
pip install pyaudio
cd snowboy/swig/Python3 # If you use Python3
#cd snowboy/swig/Python # If you use Python2
make
cp _snowboydetect.so $JARVIS_PATH/stt_engines/snowboy/
cp snowboydetect.py $JARVIS_PATH/stt_engines/snowboy/
cd ../..
cp -r resources $JARVIS_PATH/stt_engines/snowboy/
wikijm commented 7 years ago

Thanks for your contribution @Oliv4945 😃

samwel89 commented 7 years ago

Hi @Oliv4945,

I have one question but I'm not sure if it's OP, concerning reinstalling Snowboy on a computer/raspberry without precompiled binaries. I want to reinstall Snowboy in C++ version and use it with jarvis, do you think it's possible? will it work? Thank you in advance.

Oliv4945 commented 7 years ago

@samwel89 : Sorry, I just saw your message. You can have both as it is just biding to the library "snowboydetect.so"