如何在使用 sapi 5.3 进行自由听写时获取更正命令?

发布于 2024-08-03 00:15:19 字数 140 浏览 1 评论 0原文

我有一个使用 sapi 5.3 进行基本听写的示例应用程序。
输入带有标点符号的文本效果很好...
我需要做什么才能启用教程中的更正功能(正确的单词,选择...)?
是否有特定的语法要加载(加载哪些以及如何加载),是否有一些特定的事件要实现?

I have an sample application that do basic dictation with sapi 5.3.
It works well to input text with punctuation...
What would I need to do to enable the correction functionality as in the tutorial (correct word, select ...)?
Is there a specific grammar to load (which and how), some specific events to implement?

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

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

发布评论

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

评论(1

哎呦我呸! 2024-08-10 00:15:19

好吧,如果您只想要语法,您可以使用ruleref 来获取听写语法:

< /code>

请注意,您仍然负责解析规则并执行操作。

Well, if you just want the grammar, you can use a ruleref to get the dictation grammar:

<ruleref uri="sharing:Microsoft.SpeechUX.BuiltIn.LaunchCommands"/>

Note that you'll still be responsible for parsing the rule and performing the actions.

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