Voice Recognition without Internet in Android

一笑奈何 提交于 2019-12-04 04:40:46

You can use Pocketsphinx either with a statistical model which you can train on a corpus that reflects the language that the users are likely speak with your app, or you can define a JSGF grammar which explicitly defines the language as a set of context-free rules. In both cases you need to have the acoustic model and the mapping of phonetic symbols to orthographic words. The CMU Sphinx project provides these resources for English and a few other languages.

Once the speech is recognized it becomes a simple string to which you can apply any "spot the keyword" algorithm you wish to apply.

An example of a Pocketsphinx-based Android app that uses JSGF-based speech recognition is Inimesed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!