Using Sphinx4.0 to build a speech recog. Android application

試著忘記壹切 提交于 2019-12-11 02:24:23

问题


I have been creating a java application for speech recognition using Sphinx4 in eclipse IDE and it worked out good! But now, i have an idea of turning the project to work on android platform.

The code came out well for the sphinx4 demo speech recog. program in Android, But it crashes when i try to run it on a device! saying it has "Stopped Unexpectedly!" (Force closed)

From my Survey in the internet, i've heard that Sphinx configures microphone in a way thats not compatible with dalvik.

SO is there any way i can get these two things to work together?? Like configure mic in the dalvik device and use sphinx just to process the input??


回答1:


Sphinx4 is not designed for mobile applications. Use pocketsphinx instead:

http://cmusphinx.sourceforge.net/2011/05/building-pocketsphinx-on-android/




回答2:


You should use eyes-free for speech-enabled Android applications.



来源:https://stackoverflow.com/questions/12068404/using-sphinx4-0-to-build-a-speech-recog-android-application

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