SpeechRecognitionEngine..::..EmulateRecognize Method (array<RecognizedWordUnit>[]()[][], CompareOptions, EmulateOptions) |
SpeechRecognitionEngine Class See Also Send Feedback |
Emulates input of specific words to the speech recognizer, using an array of RecognizedWordUnit objects in place of audio for synchronous speech recognition, specifies how the recognizer handles Unicode comparison between the words and the loaded speech recognition grammars, 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 ( _ wordUnits As RecognizedWordUnit(), _ compareOptions As CompareOptions, _ emulateOptions As EmulateOptions _ ) As RecognitionResult |
Visual Basic (Usage) |
---|
Dim instance As SpeechRecognitionEngine Dim wordUnits As RecognizedWordUnit() Dim compareOptions As CompareOptions Dim emulateOptions As EmulateOptions Dim returnValue As RecognitionResult returnValue = instance.EmulateRecognize(wordUnits, _ compareOptions, emulateOptions) |
C# |
---|
public RecognitionResult EmulateRecognize( RecognizedWordUnit[] wordUnits, CompareOptions compareOptions, EmulateOptions emulateOptions ) |
Parameters
- wordUnits
- Type: array<Microsoft.Speech.Recognition..::..RecognizedWordUnit>[]()[][]
An array of word units that contains the input for the recognition operation
- compareOptions
- Type: System.Globalization..::..CompareOptions
A bitwise combination of the enumeration values that describe the type of comparison to use for the emulated recognition operation.
- emulateOptions
- Type: Microsoft.Speech.Recognition..::..EmulateOptions
The type of recognition operation to perform.