Reputation: 408
I am using open ears library but in various code samples it states that there should be a predefined set of words. But i dont want this, it should just convert to text what I speak.
For example :
NSArray *words = [NSArray arrayWithObjects:@"WORD", @"STATEMENT", @"OTHER WORD", @"A PHRASE", nil];
NSString *name = @"NameIWantForMyLanguageModelFiles";
NSError *err = [lmGenerator generateLanguageModelFromArray:words withFilesNamed:name forAcousticModelAtPath:[OEAcousticModel pathToModel:@"AcousticModelEnglish"]];
I dont want to use words array, instaead i want to convert my speech to text
Any help on this ?
Upvotes: 0
Views: 257