SpeechRecognitionEngine Methods

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

The SpeechRecognitionEngine type exposes the following members.

Methods

  NameDescription
Public methodDispose()()()()Disposes the SpeechRecognitionEngine object.
Protected methodDispose(Boolean)Disposes the SpeechRecognitionEngine object and releases resources used during the session.
Public methodEmulateRecognize(String)Emulates input of a phrase to the speech recognizer, using text in place of audio for synchronous speech recognition.
Public methodEmulateRecognize(String, EmulateOptions)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.
Public methodEmulateRecognize(String, CompareOptions)Emulates audio input to the recognition engine, using text in place of audio for synchronous speech recognition, and specifies how the recognizer handles Unicode comparison between the phrase and the loaded speech recognition grammars
Public methodEmulateRecognize(array<RecognizedWordUnit>[]()[][], CompareOptions)Emulates input of specific words to the speech recognizer, using an array of RecognizedWordUnit objects in place of audio for synchronous speech recognition, and specifies how the recognizer handles Unicode comparison between the words and the loaded speech recognition grammars.
Public methodEmulateRecognize(String, CompareOptions, EmulateOptions)Emulates audio input to the recognition engine, using text in place of audio for synchronous speech recognition, specifies how the recognizer handles Unicode comparison between the phrase and the loaded speech recognition grammars, and specifies the type of recognition operation to perform.
Public methodEmulateRecognize(array<RecognizedWordUnit>[]()[][], CompareOptions, EmulateOptions)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.
Public methodEmulateRecognizeAsync(String)Emulates input of a phrase to the speech recognizer, using text in place of audio for asynchronous speech recognition.
Public methodEmulateRecognizeAsync(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.
Public methodEmulateRecognizeAsync(String, CompareOptions)Emulates input of a phrase to the speech recognizer, using text in place of audio for asynchronous speech recognition, and specifies how the recognizer handles Unicode comparison between the phrase and the loaded speech recognition grammars.
Public methodEmulateRecognizeAsync(array<RecognizedWordUnit>[]()[][], CompareOptions)Emulates input of specific words to the speech recognizer, using text in place of audio for asynchronous speech recognition, and specifies how the recognizer handles Unicode comparison between the words and the loaded speech recognition grammars.
Public methodEmulateRecognizeAsync(String, CompareOptions, EmulateOptions)Emulates audio input to the recognition engine, using text in place of audio for asynchronous speech recognition, specifies how the recognizer handles Unicode comparison between the phrase and the loaded speech recognition grammars, and specifies the type of recognition operation to perform.
Public methodEmulateRecognizeAsync(array<RecognizedWordUnit>[]()[][], CompareOptions, EmulateOptions)Emulates input of specific words to the speech recognizer, using an array of RecognizedWordUnit objects in place of audio for asynchronous 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.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberInstalledRecognizersReturns information for all of the installed speech recognizers on the current system.
Public methodLoadGrammarSynchronously loads a Grammar object.
Public methodLoadGrammarAsyncAsynchronously loads a Grammar object.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodQueryRecognizerSettingReturns the values of the current settings for a speech recognition engine managed by a SpeechRecognitionEngine object.
Public methodRecognize()()()()Performs a synchronous speech recognition operation.
Public methodRecognize(TimeSpan)Performs a synchronous speech recognition operation with a specified initial silence timeout period.
Public methodRecognizeAsync()()()()Performs a single, asynchronous speech recognition operation.
Public methodRecognizeAsync(RecognizeMode)Performs one or more asynchronous speech recognition operations.
Public methodRecognizeAsyncCancelTerminates asynchronous recognition without waiting for the current recognition operation to complete.
Public methodRecognizeAsyncStopStops asynchronous recognition after the current recognition operation completes.
Public methodRequestRecognizerUpdate()()()()Requests that the recognizer pauses to update its state.
Public methodRequestRecognizerUpdate(Object)Requests that the recognizer pauses to update its state and provides a user token for the associated event.
Public methodRequestRecognizerUpdate(Object, TimeSpan)Requests that the recognizer pauses to update its state and provides an offset and a user token for the associated event.
Public methodSetInputToAudioStreamConfigures the SpeechRecognitionEngine object to receive input from an audio stream.
Public methodSetInputToDefaultAudioDeviceConfigures the SpeechRecognitionEngine object to receive input from the default audio device.
Public methodSetInputToNullDisables the input to the speech recognizer.
Public methodSetInputToWaveFileConfigures the SpeechRecognitionEngine object to receive input from a Waveform audio format (.wav) file.
Public methodSetInputToWaveStreamConfigures the SpeechRecognitionEngine object to receive input from a stream that contains Waveform audio format (.wav) data.
Public methodSimulateRecognizeSimulates recognition of the specified string.
Public methodToString (Inherited from Object.)
Public methodUnloadAllGrammarsUnloads all Grammar objects from the recognizer.
Public methodUnloadGrammarUnloads a specified Grammar object from the SpeechRecognitionEngine instance.
Public methodUpdateRecognizerSetting(String, Int32)Updates the specified setting for the SpeechRecognitionEngine with the specified integer value.
Public methodUpdateRecognizerSetting(String, String)Updates the specified setting for the SpeechRecognitionEngine with the specified integer value.
Top

See Also