Initializes a new instance of the SpeechRecognitionEngine class.
Overload List
Name | Description | |
---|---|---|
SpeechRecognitionEngine()()()() | Initializes a new instance of the SpeechRecognitionEngine class using the default speech recognizer for the system. | |
SpeechRecognitionEngine(CultureInfo) | Initializes a new instance of the SpeechRecognitionEngine class using the default speech recognizer for a specified locale. | |
SpeechRecognitionEngine(String) | Initializes a new instance of the SpeechRecognitionEngine class with a string parameter that specifies the name of the recognizer to use. | |
SpeechRecognitionEngine(RecognizerInfo) | Initializes a new instance of the SpeechRecognitionEngine using the information in a RecognizerInfo object to specify the recognizer to use. |
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: