System.Speech.Recognition Namespace ()

Switch View :
ScriptFree
.NET Framework Class Library
System.Speech.Recognition Namespace

The Recognition namespace contains Windows Desktop Speech technology types for implementing speech recognition.

The Windows Desktop Speech Technology software offers a basic speech recognition infrastructure that digitizes acoustical signals, and recovers words and speech elements from audio input.

Applications use System.Speech.Recognition namespace to access and extend this basic speech recognition technology, by defining algorithms for identifying and acting on specific phrases or word patterns, and by managing the run time behavior of this speech infrastructure.

Applications manage and obtain use grammars -- sets of rules defining how specific combinations of words and phrases are to be understood --through the general purpose Grammar class, which hosts runtime, persisted, or dynamically constructed instances of SrgsDocument. SrgsDocument instances contain W3C Speech Recognition Grammar Specification (SRGS) compliant grammar documents.

A simplified means of specifying grammar documents is provided through the GrammarBuilder and Choices classes. Full support for generating SRGS compliant grammars is provided by the members of the System.Speech.Recognition.SrgsGrammar name space.

In addition, a special case grammar to support a conventional dictation model is available through DictationGrammar objects.

Instances of SpeechRecognizer and SpeechRecognitionEngine objects supplied with appropriate Grammar objects provide the primary access to the Windows Desktop Speech Technology recognition engines.

The SpeechRecognizer class is used to create client applications making use of a system's current recognition technology, which is configured through the Audio Input member of the Control Panel, and a computer's default audio input mechanism.

Building an application using SpeechRecognitionEngine allows for more control on the configuration and type of recognition engine, which runs in process. Using SpeechRecognitionEngine also provides for the dynamic selection of audio input, whether from devices or files.

Classes

  Class Description
Public class AudioLevelUpdatedEventArgs Returns data from the AudioLevelUpdated event.
Public class AudioSignalProblemOccurredEventArgs Returns data from the AudioSignalProblemOccurred event.
Public class AudioStateChangedEventArgs Returns data from the AudioStateChanged event.
Public class Choices Represents a list of alternative items to make up an element in a grammar.
Public class DictationGrammar Represents a grammar used for free text dictation.
Public class EmulateRecognizeCompletedEventArgs Returns data from the EmulateRecognizeCompleted event.
Public class Grammar Provides run time support for obtaining and managing Speech grammar information.
Public class GrammarBuilder Provides an easy-to-use mechanism for constructing complicated Grammar objects from simple inputs.
Public class LoadGrammarCompletedEventArgs Returns data from the LoadGrammarCompleted event.
Public class RecognitionEventArgs Base class for event arguments objects passed to handlers of the speech recognition events.
Public class RecognitionResult Represents the result of recognition engine on audio input as detailed information about the best candidate phrases matching phrase, and a list of all candidate matching phrases.
Public class RecognizeCompletedEventArgs Returns data from the RecognizeCompleted event.
Public class RecognizedAudio Represents audio input a recognition engine used to generate candidate phrases result.
Public class RecognizedPhrase Represents detailed information about a candidate phrase found by a recognition engine as matching audio input.
Public class RecognizedWordUnit Provides the atomic unit of recognized speech.
Public class RecognizerInfo Represents information about a SpeechRecognizer or SpeechRecognitionEngine.
Public class RecognizerUpdateReachedEventArgs Returns data from the RecognizerUpdateReached event.
Public class ReplacementText Contains originally recognized text replace using speech normalization by a recognition engine.
Public class SemanticResultKey Attaches key string to SemanticResultValue values to define the SemanticValue objects created in Grammar using GrammarBuilder instances
Public class SemanticResultValue Sets values to SemanticValue objects created in Grammar using GrammarBuilder instances.
Public class SemanticValue Represents the semantic organization of a recognized phrase.
Public class SpeechDetectedEventArgs Returns data from the SpeechDetected event.
Public class SpeechHypothesizedEventArgs Infrastructure. Returns notification from the SpeechHypothesized event.
Public class SpeechRecognitionEngine Provides access to run any properly installed speech recognition services found on a Windows Desktop system.
Public class SpeechRecognitionRejectedEventArgs Returns notification from the SpeechRecognitionRejected event.
Public class SpeechRecognizedEventArgs Returns notification from the SpeechRecognized event.
Public class SpeechRecognizer Provides access to the default shared speech recognition service available on the Windows Desktop.
Public class SpeechUI Provides text and status information to the operating system in speech user interface to display to the user.
Public class StateChangedEventArgs Returns data from the StateChanged event.
Enumerations

  Enumeration Description
Public enumeration AudioSignalProblem Enumerates the types of audio signal problems.
Public enumeration AudioState Enumerates values of the recognizer's audio state.
Public enumeration DisplayAttributes Enumerates formats for the display of words in a recognized phrase.
Public enumeration RecognizeMode Enumerates values of the recognition mode.
Public enumeration RecognizerState Enumerates values of the recognizer's state.
Public enumeration SubsetMatchingMode Enumerates values of subset matching mode.