Home › Forums › OpenEars › Multiple Dictionaries to match › Reply To: Multiple Dictionaries to match
March 13, 2015 at 4:11 pm #1025168
I can’t think of an easy way to do this, but it might be possible to have SaveThatWave output a WAV of the captured speech and then immediately submit it to this method:
- (void) runRecognitionOnWavFileAtPath:(NSString *)wavPath usingLanguageModelAtPath:(NSString *)languageModelPath dictionaryAtPath:(NSString *)dictionaryPath acousticModelAtPath:(NSString *)acousticModelPath languageModelIsJSGF:(BOOL)languageModelIsJSGF;
I’ve never tried this but it is possible that it may work, no promises. You can’t run the same input on two models using the standard recognition methods.