Android中的简单语音命令

Android中的简单语音命令,android,speech-recognition,voice,audio,Android,Speech Recognition,Voice,Audio,因此,我得到了一个为盲人制作应用程序的项目,并决定在android上制作。 应用程序非常简单,可能是这样的: 1. User press the button and say a word (ex: Ja - Pan) 2. The program search in database and find a data labeled Japan 3. The program plays the data that had been searched the data in here is

因此,我得到了一个为盲人制作应用程序的项目,并决定在android上制作。 应用程序非常简单,可能是这样的:

1. User press the button and say a word (ex: Ja - Pan)
2. The program search in database and find a data labeled Japan
3. The program plays the data that had been searched
   the data in here is basically an audio 
我听说android已经有了自己的语音识别系统,但它需要在线

1. is there any way to make it offline and read my database not google database ?
2. if not, are there any source code about speech recognition so i can learn from it?
3. how to input sound in database? so far i only know how to input text in SQLight
我这里真的需要帮助
顺便说一句,我来自印度尼西亚……很高兴认识你们大家:D

以下是对你们问题的几个答案

有没有办法让它离线并读取我的数据库而不是谷歌数据库? 是的,这是可能的,您可以使用sphinks查看详细信息

二,

如何在数据库中输入声音?到目前为止,我只知道如何输入文本 在SQLight中

您必须再次将语音转换为文本您可以使用Sphinx。然后您可以将该文本存储在数据库中

检查,它与google相比没有什么优势:能够通过语音激活搜索,无需按下键盘按钮,能够指定要搜索的单词列表,离线功能。至于在数据库中存储声音,这是没有必要的,您可以将文件存储在文件系统中。虽然在数据库中存储二进制数据也是完全可能的。例如,见