SpeechRecognitionEngine Constructor (CultureInfo)

Constructs a new instance of SpeechRecognitionEngine using the default recognition engine for a given locale.

Namespace: Microsoft.Speech.Recognition
Assembly: Microsoft.Speech (in microsoft.speech.dll)




  • culture
    A valid instance of CultureInfo to specify a locale or language.


If the system does not support the locale defined by culture, an exception will be generated on construction.

After construction, the SpeechRecognitionEngine must be explicitly attached to audio input.

For more information on attaching to audio input, see SetInputToAudioStream, SetInputToDefaultAudioDevice, SetInputToNull, SetInputToWaveFile, and [SetInputToWaveStream](https://msdn.microsoft.com/en-us/library/m:microsoft.speech.recognition.speechrecognitionengine.setinputtowavestream(system.io.stream(v=office.13)).


Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also


SpeechRecognitionEngine Class
SpeechRecognitionEngine Members
Microsoft.Speech.Recognition Namespace