man oram

Forum Replies Created

Viewing 1 post (of 1 total)

  • Author
    Posts
  • in reply to: Recognizing words which aren't in the vocabulary #1019027
    man oram
    Participant

    There seems to be problems with the rejecto programming, it is responding to words not in its vocabulary, when the whole reason the software is called rejecto is that is sould rejecto any word not in its vocabulary. For example when I can say “Australia”, or “My name is geoff”, custom message 1 recognizing!!! those words are not in vacabulary.. please help from this

    see my rejecto module

    LanguageModelGenerator *lmGenerator = [[LanguageModelGenerator alloc] init];
    NSArray *words = [[NSArray alloc] initWithArray:[NSArray arrayWithObjects:@”CUSTOMONE”,@”CUSTOMTWO”,@”CUSTOMTHREE”,@”THANKYOUSCREEN”,
    @”HOMESCREEN”,
    @”TOOCLOSESCREEN”,
    nil]];
    NSString *name = @”NameIWantForMyLanguageModelFiles”;
    NSError *err = [lmGenerator generateRejectingLanguageModelFromArray:words
    withFilesNamed:name withOptionalExclusions:nil usingVowelsOnly:TRUE withWeight:nil forAcousticModelAtPath:[AcousticModel pathToModel:@”AcousticModelEnglish”]];

    Mano

Viewing 1 post (of 1 total)