Advertisement
metalx1000

Notes on Voice/Speech to text with Sphinx on Linux

Aug 9th, 2019
811
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.57 KB | None | 0 0
  1. #Helpful site https://schollz.com/raspberrypi/stt/
  2. sudo apt install pocketsphinx pocketsphinx-en-us
  3.  
  4. #use this site to create
  5. #http://www.speech.cs.cmu.edu/tools/lmtool-new.html
  6.  
  7. ##Make a dictionary first. Generate a file language.txt with some words, like
  8. open browser
  9. new e-mail
  10. forward
  11. backward
  12. next window
  13. last window
  14. open music player
  15. okay computer
  16.  
  17. #extract tar file
  18. tar -xvzf TAR*.tgz
  19.  
  20. #replace 7773 with your file name
  21. pocketsphinx_continuous -fwdflat no -bestpath no -maxwpf 5 -maxhmmpf 1000 -topn 2 -pl_window 7  -dict 7773.dic -lm 7773.lm -inmic yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement