The pocketsphinxDidReceiveHypothesis is never fired

Home Forums OpenEars The pocketsphinxDidReceiveHypothesis is never fired

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

  • Author
    Posts
  • #14838
    luiso1979
    Participant

    Hello all,

    I was using an old version of OpenEars without any problems. Today I decided to download the last one (1.2.4) and give it a try.
    – I generate my Language Model and Dictionary using LanguageModelGenerator with no problem at all.
    – I start the startVoiceRecognitionThread with no errors
    – I speak and the library detects something happend BUT:

    the pocketsphinxDidReceiveHypothesis method is never called.

    Any thoughts that could guide me

    Thank you all very much

    Regards

    #14839
    Halle Winkler
    Politepix

    Hmm, this is known working without any issues, so I think it’s just going to turn out to be OpenEarsEventsObserver delegate method connection issue.

    #14840
    luiso1979
    Participant

    Sorry if you need any code snippet just tell me what…

    #14841
    luiso1979
    Participant

    thank you Halle,

    Do you have any thoughts on how could I correct this linking problem or either verify if indeed this is the problem???

    Regards and Thanks again

    Luis

    #14842
    Halle Winkler
    Politepix

    Oh, I just noticed this from your question — there is no public method called startVoiceRecognitionThread, so calling a method with this name is probably the issue. If you are doing anything with PocketsphinxController’s threading it will probably cause issues since PocketsphinxController handles its own multithreading. Maybe the best approach is to do a new installation based on the tutorial: https://www.politepix.com/openears/tutorial

    #14843
    luiso1979
    Participant

    THANKS!!!!!!! Halle!

    This was exactly the problem! using the startListeningWithLanguageModelAtPath… everything got solved!

    Thanks a lot,

    Regards

    Luis

    #14844
    Halle Winkler
    Politepix

    That’s great! I’m happy I could help.

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