C# Speech Recognition - Is this what the user said?

后端 未结 11 993
感动是毒
感动是毒 2020-11-28 19:49

I have need to write an application which uses a speech recognition engine -- either the built in vista one, or a third party one -- that can display a word or phrase, and r

11条回答
  •  日久生厌
    2020-11-28 20:04

    [Note: I was the development lead for the managed speech recognition API in .NET 3.0]

    System.Speech is part of .NET 3.0, so it is available on both Vista and XP. In Vista you have the added benefit of having a speech recognition engine pre-installed by the OS. On XP you choices are: use the SAPI 5.1 SDK with a very old engine (but might work well enough for your command and control scenario), install Office 2003 which installs a newer version of the recognizer. There are a few SAPI 5 complient speech recognition engines available as well.

    If you need to switch languages, you will want to use the System.Speech.Recognition.SpeechRecognitionEngine class which allows you to choose the SR engine for the language you need to support. Note that engines are defined by a set of languages they support (they might be using the same binary, only swapping data files to support additional languages).

    Comment if you need to know more.

    Philipp

提交回复
热议问题