Search code examples
androidspeech-recognitionofflinesphinx4

How to implement pocketsphinx with windows 7 and eclipse ?Or how to use java sphinx speech recognition to android?


I want To use sphinx 4 speech recognition in android.Recently I used sphinx4 speech recognition for java and implemented successfully.

But my problem is pockesphinx is speech recognition for android.I could not understand the tutorial.I tried so many times to run the pocketsphinx but could not succeed,as I don't know about Linux commands,and I want to implement pocketsphinx with the eclipse Helios and my OS is windows 7.Can anyone give me some steps to implement the pocketsphinx with windows 7 and eclipse for android.Its been a two weeks now that I just visiting the tutorial but nothing I can make it.So please.Can anyone help me out.Or even if there is any things like I can import my sphinx4 speech recognition of java to android application??because I tried even implement the code of sphinx4 java to android but its not working at all?


Solution

  • To run it on windows, follow the instructions found here:

    http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx#windows

    Then you can run pocketsphinx_continuous to test it, for example:

    pocketsphinx_continuous.exe -hmm {pocketsphinx path}\model\hmm\en_US\hub4wsj_sc_8k -dict {pocketsphinx path}\model\lm\en_US\cmu07a.dic -lm {pocketsphinx path}\model\lm\en_US\wsj0vp.5000.DMP

    I created a blog post about this: http://mariangemarcano.blogspot.dk/2012/09/speech-recognition-with-pocketsphinx.html