无论如何,是否可以只识别一个单词而无需使用语音来python中的文本API
当用户说一个给定的单词时,我需要打开某些内容,假设这个词是“你好”,所以每当用户说“你好”时,我都需要打开某些东西,我只需要识别这个词,而我也不知道。想用整个演讲来短信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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您想做的是 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)