I am writing an application and want to let the user know when the application stops listening and starts recognition. I've gone through the source code and can't figure out where to look for the time when the application starts recognizing and won't register the input anymore. Should I look in the frontend component, the decoder or the search manager?
Best,
Foad
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am writing an application and want to let the user know when the application stops listening and starts recognition. I've gone through the source code and can't figure out where to look for the time when the application starts recognizing and won't register the input anymore. Should I look in the frontend component, the decoder or the search manager?
Best,
Foad
> I've gone through the source code and can't figure out where to look
What code do you looking at exactly? Is it sphinx4 or some sphinx3 program?
You need to add your application as a StateListener to Recognizer (I believe, I haven't verified in the API).
I'm looking at sphinx 4 code.
thanks.