SpeechRecognitionEngine Constructor

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Initializes a new instance of the SpeechRecognitionEngine class.

Overload List

  NameDescription
Public methodSpeechRecognitionEngine()()()()Initializes a new instance of the SpeechRecognitionEngine class using the default speech recognizer for the system.
Public methodSpeechRecognitionEngine(CultureInfo)Initializes a new instance of the SpeechRecognitionEngine class using the default speech recognizer for a specified locale.
Public methodSpeechRecognitionEngine(String)Initializes a new instance of the SpeechRecognitionEngine class with a string parameter that specifies the name of the recognizer to use.
Public methodSpeechRecognitionEngine(RecognizerInfo)Initializes a new instance of the SpeechRecognitionEngine using the information in a RecognizerInfo object to specify the recognizer to use.
Top

Remarks

You can construct a SpeechRecognitionEngine instance from any of the following:

  • The default speech recognition engine for the system

  • A specific speech recognition engine that you specify by name

  • The default speech recognition engine for a locale that you specify

  • A specific recognition engine that meets the criteria that you specify in a RecognizerInfo object

Before the speech recognizer can begin recognition, you must load at least one speech recognition grammar and configure the input for the recognizer.

To load a grammar, call the LoadGrammar or LoadGrammarAsync method.

To configure the audio input, use one of the following methods:

See Also