User:Manetta/running-sphinx
INSTALLING POCKETSPHINX [process]
source: https://mattze96.safe-ws.de/blog/?p=640
git clone sphinx
run sh autogen.sh
- install autoconf - (http://petio.org/tools/autoconf.html)
- install libtool - (http://petio.org/tools/libtool.html)
- install automake - (http://petio.org/tools/automake.html)
make
- —> error *** No targets specified and no makefile found. Stop.
sudo make install
- —> error *** No rule to make target `install'. Stop.
git clone pocketshinx
run sh autogen.sh
run make
- —> error *** No targets specified and no makefile found. Stop.
sudo make install
- —> error *** No rule to make target `install'. Stop.
wget voxforge (LM + DIC + HMM) --> see source Mattz96
nano run-pocketsphinx.sh --> see source Mattz96
run run-pocketsphinx.sh
sh run-pocketshpinx.sh
- —> error run-pocketsphinx.sh: line 4: pocketsphinx_continuous: command not found
install python
sudo apt-get install build-essential
- install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- —> error Error: Cowardly refusing to `sudo brew install` You can use brew with sudo, but only if the brew executable is owned by root. However, this is both not recommended and completely unsupported so do so at your own risk.
—> brew install /Users/manetta/Downloads/python-3.4.2-macosx10.6.pkg
to use "make"
install Command Line Tools
- (In most cases, standard developer commands like "make," "gcc," "cc," "svn," "git" or Apple-specific tools like "xcode-select" or "xcodebuild" or "xcrun" will require these tools, so running these in some form will spur the system to launch the "Install Command Line Developer Tools" program.)
- register as Apple Developer
- (terrifying)
- install Command Line Tools .dmg
- install Xcode
- install Swig
- (SWIG is a software development tool that connects programs written in C and C++)
- install PCRE (http://blog.colourbomb.net/?p=49)
install Sphinx again
./autogen make sudo make install
install PocketSphinx again
./autogen make sudo make install
sh run-pocketsphinx.sh
run pocketsphinx and define -infile : pocketsphinx_continuous -infile steve.wav
- converting steve.mp4 video file from youtube to .wav file with 16 bits per sample and 1 channel (http://online-audio-converter.com/)
!!!WORKS!!!
first words:
000000000: everyone who a while 000000001: a revolution report comes along that changes every day