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

发布于 2024-08-29 00:35:50 字数 103 浏览 3 评论 0原文

我知道如果我使用 SAPI 进行语音识别,则需要安装语音 SDK。 但是,如果我使用 .NET System.Speech.Recognition:SpeechRecognizer 类怎么办?

I know that I need to install Speech SDK if I'm using SAPI for spech recognition.
But what if I'm using .NET System.Speech.Recognition:SpeechRecognizer class?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清醇 2024-09-05 00:35:50

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

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

System.Speech.Recognition:SpeechRecognizer 也可以与 SAPI 5.1 很好地配合使用;某些功能需要 SAPI 5.3;如果你使用它们,你会得到一个例外。

System.Speech.Recognition:SpeechRecognizer uses SAPI, so if you don't have SAPI installed by default (i.e., you're running on XP), you'll need to install it. You don't need the entire SAPI dev kit, just the redistributables (SpeechSDK51MSM.exe).

If you need to run on XP, you'll be limited to SAPI 5.1; other versions are bound to the OS.

System.Speech.Recognition:SpeechRecognizer will work well with SAPI 5.1, as well; some features require SAPI 5.3; if you use them, you'll get an exception.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文