[Resolved] JSGF OpenEars 2.0

Home Forums OpenEars [Resolved] JSGF OpenEars 2.0

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

  • Author
    Posts
  • #1023356
    adb
    Participant

    JSGF on the stock OpenEars sample app does not seem to be working. I dropped in the dictionary from the documentation and generated with generateGrammarFromDictionary and started pocketsphinx with languageModelIsJSGF:TRUE. It works just fine without JSGF. This is what pops up in the console:

    2014-12-10 12:13:31.020 OpenEarsSampleApp[2530:755509] Error: the default phonetic dictionary AcousticModelEnglish/LanguageModelGeneratorLookupList.text can’t be found in the app bundle but the app is attempting to access it, most likely there will be a crash now.

    2014-12-10 12:13:31.034 OpenEarsSampleApp[2530:755509] Error while trying to load the pronunciation dictionary: Error Domain=NSCocoaErrorDomain Code=260 “The operation couldn’t be completed. (Cocoa error 260.)” UserInfo=0x14d4e0a0 {NSFilePath=AcousticModelEnglish/LanguageModelGeneratorLookupList.text, NSUnderlyingError=0x14d4cec0 “The operation couldn’t be completed. No such file or directory”}
    E6637FD046/Library/Caches/FirstOpenEarsDynamicLanguageModel.DMPenamestring-length(int32)andfilename(includingtrailing0)

    2014-12-10 12:13:31.784 OpenEarsSampleApp[2530:755509] Local callback: Setting up the continuous recognition loop has failed for the reason Error: it wasn’t possible to initialize the pocketsphinx decoder. Please turn on OELogging in order to troubleshoot this. If you need support with this issue, please turn on both OELogging and verbosePocketsphinx in order to get assistance., please turn on [OELogging startOpenEarsLogging] to learn more.

    If this isn’t enough to help I can do a verbose log.

    #1023358
    Halle Winkler
    Politepix

    I downloaded it and grammars worked for me, but the first time I ran I had the same result because I forgot to change this line:

    self.pathToFirstDynamicallyGeneratedLanguageModel = [languageModelGenerator pathToSuccessfullyGeneratedLanguageModelWithRequestedName:@”FirstOpenEarsDynamicLanguageModel”];

    to this:

    self.pathToFirstDynamicallyGeneratedLanguageModel = [languageModelGenerator pathToSuccessfullyGeneratedGrammarWithRequestedName:@”FirstOpenEarsDynamicLanguageModel”];

    Is that maybe what you experienced?

    #1023369
    adb
    Participant

    That was it! Thanks.

    #1023370
    Halle Winkler
    Politepix

    You’re welcome!

    #1023373
    adb
    Participant

    Didn’t want to start a new post but everything in the voice extras needs updating to OEFliteVoice. Just wanted to give you a heads up before someone starts telling you they don’t work.

    #1023387
    Halle Winkler
    Politepix

    OK, thanks for the heads-up, should be up to date now.

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