I'm trying a very basic example from the tutorial, and I wanted to be able to get the word times from the recognition. In the pocketsphinx_continuous it states I can say "-time yes" as a command line parameter. However, the default ps_args() doesn't have a definition. I tried adding the definition into my own arg array but that didn't work either.
Is this possible? Here is where I would like to specify the -time argument. I'm aware I need to generate my own arg array like so:
The option "-time" is used in command line tool pocketsphinx_continuous. If you want to print times in your own code you can use the following code chunk from pocketsphinx_continuous:
I'm trying a very basic example from the tutorial, and I wanted to be able to get the word times from the recognition. In the pocketsphinx_continuous it states I can say "-time yes" as a command line parameter. However, the default ps_args() doesn't have a definition. I tried adding the definition into my own arg array but that didn't work either.
Is this possible? Here is where I would like to specify the -time argument. I'm aware I need to generate my own arg array like so:
Last edit: Benjamin Gorman 2015-06-30
Benjamin
The option "-time" is used in command line tool pocketsphinx_continuous. If you want to print times in your own code you can use the following code chunk from pocketsphinx_continuous:
That worked perfectly. Many thanks!