Anyone knows about Android 4.1+ offline voice-recognition API documentation?

杀马特。学长 韩版系。学妹 提交于 2019-12-11 10:25:01

问题


I'm trying to build an offline voice recognition Android app on Android 4.1.2 and 4.3, and I'm trying to get access to Android ASR API. I could find all information related to synchronous voice recognition (using an intent) on http://developer.android.com/reference/android/speech/package-summary.html, but nothing about asynchronous recognition (I would like to recognize the audio content from a file).

Does anyone know about an API documentation and tutorials on this topic?

Many thanks!

Edit : Many thanks Kaarel for your answer. If I put what I'm trying to do in another way : I have an audio file where I have recorded a speech, and I would like to send the content of this file to the Android recognizer in offline mode (e.g. without internet connection). The issue is that I have been able to use Android speech recognition while the user is speaking (what I call 'synchronous'), but not using a file (e.g. after the user is done speaking, what I call asynchronous).


回答1:


Android's speech API (as of version 4.3) does not offer speech recognition of a pre-recorded audio. Also, the API does not allow the client to declare that speech recognition should happen offline.



来源:https://stackoverflow.com/questions/18823303/anyone-knows-about-android-4-1-offline-voice-recognition-api-documentation

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