-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmakefile
42 lines (28 loc) · 881 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# client make file
# based on:
# https://pypi.python.org/pypi/SpeechRecognition/
# http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx
all: speech_recognition pocketsphinx
speech_recognition:
brew install portaudio
pip install pyaudio
pip install SpeechRecognition
# interface to pocketsphinx
pip install pocketsphinx
# pocketsphinx library
pocketsphinx: sphinxbase
git clone https://github.com/cmusphinx/pocketsphinx.git || True
cd ./pocketsphinx && ./autogen.sh
cd ./pocketsphinx && ./configure
cd ./pocketsphinx && make
cd ./pocketsphinx && make install
# pocketsphinx depends on sphinxbase
sphinxbase: swig
git clone https://github.com/cmusphinx/sphinxbase.git || True
cd ./sphinxbase && ./autogen.sh
cd ./sphinxbase && ./configure
cd ./sphinxbase && make
cd ./sphinxbase && make install
#sphinxbase depends on swig
swig:
brew install swig