public void EmulateRecognizeAsync(string inputText, CompareOptions compareOptions) { if (Grammars.Count == 0) { throw new InvalidOperationException(SR.Get(SRID.RecognizerHasNoGrammar)); } RecoBase.EmulateRecognizeAsync(inputText, compareOptions); }
public void EmulateRecognizeAsync(RecognizedWordUnit[] wordUnits, CompareOptions compareOptions) { if (Grammars.Count == 0) { throw new InvalidOperationException(SR.Get(SRID.RecognizerHasNoGrammar)); } RecoBase.EmulateRecognizeAsync(wordUnits, compareOptions); }
public void EmulateRecognizeAsync(RecognizedWordUnit[] wordUnits, CompareOptions compareOptions) { if (Enabled) { RecoBase.EmulateRecognizeAsync(wordUnits, compareOptions); return; } throw new InvalidOperationException(SR.Get(SRID.RecognizerNotEnabled)); }
public void EmulateRecognizeAsync(string inputText, CompareOptions compareOptions) { if (Enabled) { RecoBase.EmulateRecognizeAsync(inputText, compareOptions); return; } throw new InvalidOperationException(SR.Get(SRID.RecognizerNotEnabled)); }
public void EmulateRecognizeAsync(string inputText) { if (Enabled) { RecoBase.EmulateRecognizeAsync(inputText); } else { throw new InvalidOperationException(SR.Get(SRID.RecognizerNotEnabled)); } }