PDA

View Full Version : [ubuntu] making Sphinx4 apps with Ant


johnyjj2
November 28th, 2009, 10:26 AM
Hello!

There is possible to download automatic speech recognition engine Sphinx4 in two versions, one is bin, the other is src. It is explained how to build Sphinx4 engine with Ant here: http://cmusphinx.sourceforge.net/sphinx4/#how_build . However there are many applications which use this Sphinx4, e.g. HelloDigits. I'd like to create my own application. To do it, I enter home/mainaccount/tutorial/sphinx4-1.0beta3-src/sphinx4-1.0beta3/src/apps/edu/cmu/sphinx/demo/helloworld in Ubuntu 9.10 and see HelloWorld.java. To create my own application I can copy the whole directory with helloworld to .../demo/myapp, change all names from HelloWorld to myapp and then edit myapp.java file. OK, I've got code of my own application. But what if I'd like to build and use it? It is explained here http://cmusphinx.sourceforge.net/sphinx4/#setupide very shortly. Tell me, please, how to build this myapp with Ant.

Greetings!

johnyjj2
November 28th, 2009, 07:01 PM
Can anybody help me, please?

johnyjj2
November 29th, 2009, 10:43 AM
Hello!

Can anybody help me, please?

I tried forum sourceforge which is dedicated for Sphinx4 and some other forums later. I've been trying to do it in NetBeans and later in Eclipse. It was bad idea to try it in NetBeans, a little bit better in Eclipse, however I succeded in neither of those.

My previous topics:
https://sourceforge.net/projects/cmusphinx/forums/forum/382337/topic/3453042
http://forum.p-zone.pl/viewtopic.php?p=91398#91398
http://www.voxforge.org/home/forums/message-boards/general-discussion/sphinx4-in-netbeans-pocketsphinx-demo/2

They suggested me to use Ant but nobody answered my question how to do it with Ant. So I would be greatful if you can tell me how to do it with Ant.

Greetings!