I have some questions about installing Pocketsphinx on and an Android phone, and I could not find answers in the CMUSphinx, IRC support forum, existing StackOverflow posts, or intensive Googling. If anyone has a minute and I want to help, I would really appreciate it.
Firstly, I'm confused about whether I can even install Pocketsphinx on Android. I believe that I need Java boxes to run on Android, so I tried installing Sphinx 4. To test the program, I did an empty operation and moved the HelloWorld demo file to the onCreate method.
Then I added the following paths to the build path:
- js.jar
- JSAPI-1,0-base.jar
- JUnit-4.8.1.jar
- sphinx4.jar
- tags.jar
- WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar
The code deploys on Droid 2 running Android 2.2, but at runtime I get the following error:
ERROR/AndroidRuntime(11567): Caused by: Property exception component:'wsjLoader' property:'location' - Can't locate resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz
I am including this jar file in the build path, so I'm not sure why this throws an exception. But then again, I'm not even sure that I need to install Sphinx 4 on Android. Does anyone know what I should do? Thanks in advance for your help.
5/2011 Update: The attempt I made to launch pocketsphinx for Android is now listed on the CMU Sphinx wiki at http://cmusphinx.sourceforge.net/2011/05/building-pocketsphinx-on-android/
source
share