即时更改听写主题

发布于 2024-09-25 19:06:45 字数 185 浏览 4 评论 0原文

我正在研究使用 MS SAPI 5 构建的自定义听写应用程序。我希望能够根据正在识别的内容动态更改听写的语法(主题)。例如,如果我的听写应用程序涉及汽车维修,那么,如果我检测到说话者在谈论发动机,我想引入一个针对识别发动机零件名称(而不是机舱内饰)而优化的听写主题。

有人知道这是否可能吗?

谢谢。

-拉吉

I am scoping out a custom dictation application to be built using MS SAPI 5. I would like to be able to change the grammar (topic) of dictation dynamically based on what is being recognized. For example, if my dictation application deals with car repair, then, if I detect the speaker talking about engine, I want to bring in a dictation topic optimized for recognizing engine part names, as opposed to cabin upholstery.

Anyone know if this is possible?

Thanks.

-Raj

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

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

发布评论

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

评论(1

水晶透心 2024-10-02 19:06:45

我相信您最大的障碍将是开发一种“万无一失”的方法来识别正在讨论的主题。引用您自己的陈述“谈论引擎”,如果您只是听引擎并关闭该词,您将无法使用引擎一词来代表汽车引擎和软件游戏引擎。我使用过几个语音合成器。我用过的那些等待特定命令开始监听。也许您可以组合使用开始监听命令。

用户“计算机,开始收听。”

计算机“准备收听。”

用户“汽车发动机。”

计算机“正在加载汽车引擎库。”

像这样的事情可能是解决您的问题的合理方法,同时仍然允许您灵活地添加库。您还可以利用这种方法来实现默认库。如果给出的第二个命令不是可识别的库,则程序可以使用默认库。

I believe your biggest hurdle will be in developing a "fool proof" method of identifying what topic is being discussed. To reference your own statement, " talking about engine", if you simply listen for engine and key off of that word you would not be able to for instance use the word engine to represent both a car engine and a software gaming engine. I have used a couple of speech synthesizers. The ones i have used wait for specific commands to begin listening. Perhaps you could have a combination of start listening commands.

USER "Computer, start listening."

COMPUTER "Ready to Listen."

USER "Car engines."

COMPUTER "Loading Car Engine Library."

Something like this might be a reasonable approach to your problem while still allowing yourself the flexibility of adding libraries. You could also utilize this approach to implement a default library. If the second command given isn't a recognized library then the program could use the default library.

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