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

2019-07-20 19:42发布

问题:

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.