SpeechRecognitionEngine..::..EmulateRecognize Method (String, EmulateOptions) |
SpeechRecognitionEngine Class See Also Send Feedback |
Emulates input of a phrase to the speech recognizer, using text in place of audio for synchronous speech recognition, and specifies the type of recognition operation to perform.
Namespace:
Microsoft.Speech.Recognition
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function EmulateRecognize ( _ inputText As String, _ emulateOptions As EmulateOptions _ ) As RecognitionResult |
Visual Basic (Usage) |
---|
Dim instance As SpeechRecognitionEngine Dim inputText As String Dim emulateOptions As EmulateOptions Dim returnValue As RecognitionResult returnValue = instance.EmulateRecognize(inputText, _ emulateOptions) |
C# |
---|
public RecognitionResult EmulateRecognize( string inputText, EmulateOptions emulateOptions ) |
Parameters
- inputText
- Type: System..::..String
The text to use as the input phrase.
- emulateOptions
- Type: Microsoft.Speech.Recognition..::..EmulateOptions
The type of recognition operation to perform.