generateLanguageModelFromArray unhandled exception…

Home Forums OpenEars generateLanguageModelFromArray unhandled exception…

Viewing 1 post (of 1 total)

  • Author
    Posts
  • #1022590
    bvelasquez
    Participant

    NSString *path = [AcousticModel pathToModel:@”AcousticModelEnglish”];

    NSError *err = [lmGenerator generateLanguageModelFromArray:voiceCommands withFilesNamed:name forAcousticModelAtPath:path];

    I receive an unhandled exception that path is invalid if I call generateLanguageModelFromArray with an empty NSArray. If I add one item to the array, all is good.

    Method should handle empty arrays.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.