Android Question vosk offline speech recognization - EndOfSpeech events

GuyBooth

Active Member
Licensed User
Longtime User
Just started working with this library.
One function that I am having trouble with is the STT.startListening(Timeout).
There doesn't appear to be an "endOfSpeech" (or "EndOfSpeech") event as described in the documentation. Instead, the Error event is raised, after which the recognition stops working.
In addition, the timeout before the error is raised is a long way short of the timeout entered. For instance, if I enter 10000, the timeout is about 5 secs.
Any solution to this?
 
Top