Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

SpeechRecognitionEngine Constructor

Initializes a new instance of the SpeechRecognitionEngine class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

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

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:

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.