CCCPaste

Notes on Voice/Speech to text with Sphinx on Linux

#Helpful site https://schollz.com/raspberrypi/stt/
sudo apt install pocketsphinx pocketsphinx-en-us

#use this site to create 
#http://www.speech.cs.cmu.edu/tools/lmtool-new.html

##Make a dictionary first. Generate a file language.txt with some words, like
open browser
new e-mail
forward
backward
next window
last window
open music player
okay computer

#extract tar file 
tar -xvzf TAR*.tgz

#replace 7773 with your file name
pocketsphinx_continuous -fwdflat no -bestpath no -maxwpf 5 -maxhmmpf 1000 -topn 2 -pl_window 7  -dict 7773.dic -lm 7773.lm -inmic yes