Hi I'm currently trying to incorporate pocketsphinx into a project and I have been using pocketsphinx_continuous to recognize from a small dictionary and language model in order to increase accuracy with limited commands. The problem is that in order to integrate PocketSphinx with the program, I need for it to stop trying to continuously recognize speech.
Instead, I would like it to go through and recognize one sentence of spoken speech, display the result, and then exit. I've looked through some of the source code but have not been able to pinpoint where it does this.
Am I using pocketsphinx_continuous incorrectly? Should I use pocketsphinx_batch instead? Or can you point me in the right direction with this inquiry?
Much appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> I've looked through some of the source code but have not been able to pinpoint where it does this.
continuous.c line 204 for example
> Should I use pocketsphinx_batch instead?
I'm not sure what do you mean by "use". You should use pocketsphinx API which is documented in doxygen documentation available on web site. The programs like pocketsphinx_continuous could be used as samples of the API usage.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi I'm currently trying to incorporate pocketsphinx into a project and I have been using pocketsphinx_continuous to recognize from a small dictionary and language model in order to increase accuracy with limited commands. The problem is that in order to integrate PocketSphinx with the program, I need for it to stop trying to continuously recognize speech.
Instead, I would like it to go through and recognize one sentence of spoken speech, display the result, and then exit. I've looked through some of the source code but have not been able to pinpoint where it does this.
Am I using pocketsphinx_continuous incorrectly? Should I use pocketsphinx_batch instead? Or can you point me in the right direction with this inquiry?
Much appreciated.
> I've looked through some of the source code but have not been able to pinpoint where it does this.
continuous.c line 204 for example
> Should I use pocketsphinx_batch instead?
I'm not sure what do you mean by "use". You should use pocketsphinx API which is documented in doxygen documentation available on web site. The programs like pocketsphinx_continuous could be used as samples of the API usage.