recognition is suspended

Home Forums OpenEars recognition is suspended

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)

  • Author
    Posts
  • #1019166
    misterwolf
    Participant

    hello to all! :)
    i have this question:
    is there a way to check if the controller is suspended?
    like:
    pocketsphinxController.recognitionIsSuspended;
    ?

    thanks!

    #1019167
    Halle Winkler
    Politepix

    Welcome,

    Sorry, there is no isSuspended property. Suspension can only happen under the circumstances that you invoke it or you have sent speech while recognition is in progress, so in the first case you originated the state and will also originate its end, and in the second case it can be tracked with the TTS callbacks.

    #1019168
    misterwolf
    Participant

    hello halle,
    thanks for your response!

    i write here another question without open another topic, if it is possible… :

    there is a way to call pocketsphinxDidReceiveHypothesis method or only eventobserver can do it?

    thanks again!

    #1019169
    Halle Winkler
    Politepix

    You’re welcome — the method is called by an event occurring (a hypothesis being available after recognition has been completed by the engine) so even if you could call it yourself, there wouldn’t be any information provided by it that you could use to drive an action.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.