android : speech recognition what are the technologies available

五迷三道 提交于 2019-12-06 21:41:21

1) you will get identical results when using either the RecognizerIntent or SpeechRecognizer. The main difference is in the User interaction. The RecognizerIntent forces the user to go through a standard speech recognition procedure. With the SpeechRecognizer you get to control how the app collects speech and when it processes it. The advantage of RecognizerIntent is that it is easy to program and familiar to users. With SpeechRecognizer you can implement advanced things like listening for speech in the background. You also get better error reporting.

Also, some words are easy for the recognizer to understand like "apple" but some are hard like "cumin" for various reasons. You will have to be clever with matching what google returns to implement something reliable.

2) I'm not sure what you mean by their own database. Your app will have a "database" of sorts which you are trying to match against what the user says

3) Probably a mix of natural language processing, user modeling, techniques to emulate a human dialogue. Or they are just a big bunch of hand coded rules to make them look smart. My guess it is a lot of work to try to make something believable.

Check out some of my sample code here: https://github.com/gmilette/Say-the-Magic-Word-

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