Vista语音识别引擎是否有像Naturallyspoken一样的脚本?

发布于 2024-07-19 05:22:02 字数 83 浏览 5 评论 0原文

我希望每当用户(使用 Vista 语音识别时)说“Wingbats 太疯狂了!”时执行一个操作。 我该怎么做呢? 是否有脚本或有 dll 可以绑定?

I want to have an action performed whenever the user (while using Vista voice recognition) says "Wingbats are crazy!". How do I do this? Is there scripting or is there a dll to tie into?

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

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

发布评论

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

评论(3

情释 2024-07-26 05:22:02

您可能需要查看Microsoft Speech API(SAPI)。 我不久前在 Windows XP 中使用过它,它支持 XML 标记,该标记声明您希望系统识别的命令。 然后,您的应用程序确定识别语音命令时需要发生什么。

对于语音识别,请查看 ISpRecoContext 接口。

以前这是一个 COM 接口,但从 Vista 开始您可以使用 .NET。 或者显然你可以使用 Python 如果这是你的偏好!

编辑

Microsoft Speech Server 2007 支持 VoiceXML,中提到对这个问题的另一个回答。

You might want to check out the Microsoft Speech API (SAPI). I used this in Windows XP a while ago and it supports an XML markup that declares the command(s) that you want the system to recognise. Your application then determines what needs to happen when a speech command is recognised.

For speech recognition, check out the ISpRecoContext interface.

Previously this was a COM interface, but since Vista you can use .NET. Or apparently you can use Python if that's your preference!

Edit

Microsoft Speech Server 2007 supports VoiceXML, mentioned in another response to this question.

记忆消瘦 2024-07-26 05:22:02

我会推荐 WSR 宏 工具包。 它可以让您轻松地将自定义脚本集成到 Windows 语音识别系统中。 SAPISystem.Speech.Recognition 非常有用,但考虑到您的问题,我怀疑使用 WSR 宏的学习曲线会容易得多。

I would recommend the WSR Macro toolkit. It lets you easily integrate your custom scripts into the Windows Speech Recognition system. SAPI and System.Speech.Recognition are great if you need more control, but given your question, I suspect that the learning curve will be much easier with WSR Macros.

錯遇了你 2024-07-26 05:22:02

查看语音 XML。 可以在 w3.org

Check out Voice XML. A list of systems implementing the standard can be found on w3.org.

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