我是否需要安装Speech SDK才能进行语音识别,即使我使用的是.NET语音识别命名空间?

时间:2010-04-14 09:19:38

标签: .net speech-recognition sapi

我知道如果我使用SAPI进行spech识别,我需要安装Speech SDK。 但是如果我使用.NET System.Speech.Recognition:SpeechRecognizer类呢?

1 个答案:

答案 0 :(得分:2)

System.Speech.Recognition:SpeechRecognizer使用SAPI,因此如果您没有默认安装SAPI(即,您在XP上运行),则需要安装它。您不需要整个SAPI开发工具包,只需redistributables(SpeechSDK51MSM.exe)。

如果您需要在XP上运行,您将仅限于SAPI 5.1;其他版本绑定到操作系统。

System.Speech.Recognition:SpeechRecognizer也适用于SAPI 5.1;一些功能需要SAPI 5.3;如果你使用它们,你会得到一个例外。