问题描述
我需要使用语音输入来插入文本。如何检测关键字时,我说话?
I need to use speech input to insert text. How can i detect keyword when I'm speaking ?
我能做到这与Android语音输入或者我需要外部库?任何想法?
Can i do this with Android Speech Input or I need external library ?Any ideas ?
感谢
推荐答案
关键字检测的任务是从语音识别任务不同。虽然第二次尝试理解课文正在发言,并检查所有可能的字的组合,关键词识别通常检查两个假设 - 词是在这里还是垃圾就在这里。它的方式更有效,检查关键字presence但它需要自定义算法。你可以实现一个与开源语音识别工具包,像CMUSphinx。
Keyword detection task is different from a speech recognition task. While second tries to understand the text being spoken and check all possible word combinations, keyword spotting usually check two hypothesis - word is here or garbage is here. Its way more efficient to check keyword presence but it requires custom algorithm. You can implement one with the open source speech recognition toolkit like CMUSphinx.
http://cmusphinx.sourceforge.net
这在Android上运行过,你可以检查
Which runs on Android too, you can check
Voice命令关键字监听器在Android中
要看看如何整合它。
这篇关于在Android关键词识别言语?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!