can't find fLanguageModelGeneratorLookupList.text in app bundler

Home Forums OpenEars can't find fLanguageModelGeneratorLookupList.text in app bundler

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

  • Author
    Posts
  • #1024403
    rochbu
    Participant

    The file does appear to be in the bundle.
    The path logged does not include the extension .bundle although I am speculating. I believe the file is copied to the app resources but in a AcousticModelEnglish.bundler/ directory.

    2015-01-18 15:16:29.243 Vocal Match Drills[12486:909013] Starting OpenEars logging for OpenEars version 2.03 on 64-bit device (or build): iPhone Simulator running iOS version: 8.100000
    2015-01-18 15:16:29.259 Vocal Match Drills[12486:909013] 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.

    #1024404
    Halle Winkler
    Politepix

    That means the acoustic model is not added to the app bundle, or you are passing something other than the path to the acoustic model to a parameter which requires that path.

    The first step for you in troubleshooting this is to verify whether the acoustic model was added to the bundle in the required way. There is an explanation in the tutorial about the settings required when adding the OpenEars Framework folder contents to your app: https://www.politepix.com/openears/tutorial

    If the acoustic model is available in your app, you will be able to see it at the root level of the main bundle when you download the app container from your device.

    If that isn’t the issue, check out the sample app or tutorial to see how the acoustic model path is referenced and passed to the various methods that use it (usually it would need to be referenced by the OEAcousticModel convenience method [OEAcousticModel pathToModel:@”AcousticModelEnglish”]). That is the next likely reason for this issue.

    It’s known to work, so this will end up being due to some minor oversight like one of these two things.

    #1024441
    rochbu
    Participant

    You are correct. It was the convenience method I had missed. Thanks.

    #1024445
    Halle Winkler
    Politepix

    You’re welcome, glad that helped.

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