Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SpeechRecognitionEngine.EmulateRecognizeAsync Method (String, EmulateOptions)

Emulates input of a phrase to the speech recognizer, using text in place of audio for asynchronous speech recognition, and specifies the type of recognition operation to perform.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public Sub EmulateRecognizeAsync ( _
    inputText As String, _
    emulateOptions As EmulateOptions _
)
'Usage
Dim instance As SpeechRecognitionEngine
Dim inputText As String
Dim emulateOptions As EmulateOptions

instance.EmulateRecognizeAsync(inputText, _
    emulateOptions)
public void EmulateRecognizeAsync(
    string inputText,
    EmulateOptions emulateOptions
)

Parameters

  • inputText
    Type: System.String
    The text to use as the input phrase.

See Also

Reference

SpeechRecognitionEngine Class

SpeechRecognitionEngine Members

EmulateRecognizeAsync Overload

Microsoft.Speech.Recognition Namespace

EmulateOptions