You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by johnyjj2 <jo...@gmail.com> on 2009/11/28 15:26:10 UTC

making Sphinx4 apps with Ant

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!
-- 
View this message in context: http://old.nabble.com/making-Sphinx4-apps-with-Ant-tp26553582p26553582.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: making Sphinx4 apps with Ant

Posted by supareno <re...@free.fr>.
johnyjj2,
> May I have your answer, please?
>   
yes you can have an answer but you have to be patient. We are not 
working for you :-)
So, i read what you posted (and sorry i don't speak polish so i didn't 
understand the second link!)

in your third link, you write:
"And what I'd like to do is to create HelloDigits.jar from HelloDigits.java"

So to do this with ant, you have to use the jar task and don't forget to 
add sphinx4 jar in tour classpath.

1) http://ant.apache.org/manual/using.html#buildfile
2) http://ant.apache.org/manual/CoreTasks/javac.html
3) http://ant.apache.org/manual/CoreTasks/jar.html
4) http://ant.apache.org/manual/using.html#example

with all these links, you could easily do what you want!!

i check this link 
http://cmusphinx.sourceforge.net/sphinx4/src/apps/edu/cmu/sphinx/demo/helloworld/README.html 
and
i saw that there was a build file to build the demo...

hope this help

S.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: making Sphinx4 apps with Ant

Posted by johnyjj2 <jo...@gmail.com>.
May I have your answer, please?
-- 
View this message in context: http://old.nabble.com/making-Sphinx4-apps-with-Ant-tp26553582p26651847.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: making Sphinx4 apps with Ant

Posted by johnyjj2 <jo...@gmail.com>.
Thanks for your answer!

Yes, I tried this forum 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!
-- 
View this message in context: http://old.nabble.com/making-Sphinx4-apps-with-Ant-tp26553582p26560498.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: making Sphinx4 apps with Ant

Posted by supareno <re...@free.fr>.
johnyjj2 a écrit :
> Can anybody help me, please?
>   
did you try this: http://sourceforge.net/projects/cmusphinx/forums ?

S.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: making Sphinx4 apps with Ant

Posted by johnyjj2 <jo...@gmail.com>.
Can anybody help me, please?
-- 
View this message in context: http://old.nabble.com/making-Sphinx4-apps-with-Ant-tp26553582p26557806.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org