melinda - 2005-07-17

I am trying to get the recognition call (recognizer.recognize) to return after a few seconds if there is no speech detected. Unfortunatly it just seems to wait there forever if there is no speech. Is there a config property, or some code, that will allow me to detect silence?

I am using a jsgf grammar (yes|no), but there are times when the person will not be there and I need to know after a few seconds if there has been no input.

Any help would be greatly greatly appreciated.