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 ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 ?
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