kaldi-offline-transcriber
kaldi-offline-transcriber copied to clipboard
Installing pyfst
On OSX you need:
CPPFLAGS="-I/home/speech/tools/kaldi-trunk/tools/openfst/include -L/home/speech/tools/kaldi-trunk/tools/openfst/lib -stdlib=libstdc++"
pip install pyfst
it worked on just wav files not mp3 on osx ffmpeg -i heli.mp3 -acodec pcm_u8 -ar 22050 heli2.wav after
sudo port install openfst CPPFLAGS="-I/home/speech/tools/kaldi-trunk/tools/openfst/include -L/home/speech/tools/kaldi-trunk/tools/openfst/lib -stdlib=libstdc++" pip install pyfst otool -L /usr/local/lib/python2.7/site-packages/fst/_fst.so sudo port uninstall openfst ln -s /home/speech/tools/kaldi-trunk/tools/openfst/lib/libfst.1.dylib /opt/local/lib/libfst.1.dylib
sudo port install sox
replace -2 with -b 16 in Makefile in the sox commands
sudo port install coreutils export PATH="/opt/local/libexec/gnubin/:$PATH"
cd ~/tools cd kaldi-offline-transcriber cd scripts/ grep -l 'usr/bin/python' * | xargs sed -i "" 's/usr/bin/python/opt/local/bin/python2.7/'