Open ears Speech to text predefined text?

258 views Asked by At

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 ?

0

There are 0 answers