SpeechRecognitionEngine class to recognize speech

suggest change

Versions

SpeechRecognitionEngine is in System.Speech and is covered here for .NET Framework 3.0 through 4.6.2.

Syntax

Parameters

LoadGrammar

Parameter Details
grammar The grammar to load. For example, a DictationGrammar object to allow free text dictation.

RecognizeAsync

Parameter Details
mode The RecognizeMode for the current recognition: Single for one recognition, Multiple to allow more than one.

GrammarBuilder.Append

Parameter Details
choices Appends choices to the grammar builder. When the user speaks, the recognizer can follow different branches of the grammar.

Choices constructor

Parameter Details
choices An array of choices for the grammar builder. See GrammarBuilder.Append.

Grammar constructor

Parameter Details
builder The GrammarBuilder used to construct a Grammar.

Remarks

To use SpeechRecognitionEngine, your Windows version needs to have speech recognition enabled.

You have to add a reference to System.Speech.dll before you can use the speech classes.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents