无论如何,是否可以只识别一个单词而无需使用语音来python中的文本API

发布于 2025-01-23 17:27:10 字数 135 浏览 1 评论 0原文

当用户说一个给定的单词时,我需要打开某些内容,假设这个词是“你好”,所以每当用户说“你好”时,我都需要打开某些东西,我只需要识别这个词,而我也不知道。想用整个演讲来短信API来识别一个单词。我尝试了一些使用频率的事情,但不起作用。任何帮助将不胜感激。谢谢。

I need to turn on something when the user says a given word, Let's say the word is "Hello", So whenever the user says "Hello" I need to turn on something, I only need to recognize this word, And I don't want to use a whole speech to text API to identify just one word. I have tried a few things using frequencies and didn't work. Any help will be really appreciated. Thank you.

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

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

发布评论

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

评论(1

谜兔 2025-01-30 17:27:10

我认为您想做的是 Wake Word检测关键字发现。在唤醒单词检测中,目标是在输入中听到指定的单词时触发输出。

有几个好的图书馆可以做到这一点。例如,检查以下内容:

https://github.com/picovoice/porcupine 从他们的网站)

https://github.com/mycroftai/mycroftai/mycroftai/mycroft-procise (看起来(看起来看起来很)喜欢它的免费)

I think what you want to do is wake word detection or keyword spotting. In wake word detection, the goal is to trigger the output when a specified word is heard in input.

There are several good libraries to do this. For example check these ones:

https://github.com/Picovoice/porcupine (it requires access key from their website)

https://github.com/MycroftAI/mycroft-precise (It looks like its free)

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