Menu

Run grammar recognition from terminal

Help
pannam
2017-01-20
2017-01-20
  • pannam

    pannam - 2017-01-20

    Hi,
    This is the command for continuous speech recognition from the terminal I use
    pannam@pannam-VirtualBox:~$ pocketsphinx_continuous -hmm /home/pannam/earthquake/model_parameters/earthquake.ci_cont -lm /home/pannam/earthquake/etc/earthquake.lm.DMP -dict /home/pannam/earthquake/etc/earthquake.dic -inmic yes -logfn /dev/null

    My grammar file is alphabets.gram
    How can I use the terminal to detect grammar ?

     
  • G10DRAS

    G10DRAS - 2017-01-20

    Use -jsgf option in place of -lm.

    pocketsphinx_continuous -hmm /home/pannam/earthquake/model_parameters/earthquake.ci_cont -jsgf <path_to alphabets.gram=""> -dict /home/pannam/earthquake/etc/earthquake.dic -inmic yes -logfn /dev/null

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.