VoxForge
Hi,
This may be a bit off topic. However, if anyone had tried this, I'd really appreciate if someone can shed some light.
I wrote a simple java code to invoke an executable running pocketsphinx. However, the code seems to be stuck at ps_init (at s2_semi_mgau_init to be precise). If I commented out the function acmod_init_am, then the pocketsphinx program would execute to completion.
Has anyone tried this before? I have uploaded the files to:
http://www.mediafire.com/?sharekey=622d284a325357dbd1014a7a667fa2b4e04e75f6e8ebb871
BTW, the pocketsphinx executable runs fine if invoked under linux command prompt. The pocketsphinx version I used is pocketsphinx-0.5.1.
Thank you very much for your help!
regards,
Jimmy
--- (Edited on 2/16/2009 12:53 pm [GMT-0600] by jcwang) ---
Well, your app works fine for me. Probably you need to read stderr as well, not just stdout. Otherwise the app gets blocked.
It's usually helpful to use strace to find out where the program locks.
--- (Edited on 2/18/2009 2:27 am [GMT-0600] by nsh) ---
Hi Nsh,
Thanks again for your help! I modified the java program to read stderr as well, unfortunately, it still doesn't work for me. Then, I went ahead and modified sphinxbase to disable all info/error/warning macros. Without the massive outputs, the java app runs fine!
BTW, do you know if there is anyway to disable the logging either at runtime or at compile time?
Thanks!
Jimmy
--- (Edited on 2/18/2009 3:42 am [GMT-0600] by jcwang) ---
I'd better suggest you to use pocketsphinx in a server mode. Something like
http://scribblej.com/svn
In theory it would be nice to implement full MRCP server specs.
--- (Edited on 2/18/2009 3:41 pm [GMT-0600] by nsh) ---
Hi Nsh,
Thanks for the info and help!
regards,
Jimmy
--- (Edited on 2/18/2009 8:35 pm [GMT-0600] by jcwang) ---
--- (Edited on 6/3/2010 4:39 am [GMT-0500] by Visitor) ---
--- (Edited on 6/3/2010 4:39 am [GMT-0500] by Visitor) ---
--- (Edited on 6/3/2010 4:40 am [GMT-0500] by Visitor) ---
--- (Edited on 6/3/2010 4:40 am [GMT-0500] by Visitor) ---