Click here to register.

Speech Recognition Engines

Flat
Sphinx-4 Environment Setup
User: Visitor
Date: 6/2/2009 9:22 pm
Views: 1595
Rating: 5    Rate [
]

I recently tried to integrate sphinx into eclipse but there are still errors and warnings.

Does anyone has the solution to nullify the errors?

--- (Edited on 6/2/2009 9:22 pm [GMT-0500] by Visitor) ---

Re: Sphinx-4 Environment Setup
User: nsh
Date: 6/3/2009 12:05 am
Views: 44
Rating: 5    Rate [
]

i do

--- (Edited on 6/3/2009 12:05 am [GMT-0500] by nsh) ---

Re: Sphinx-4 Environment Setup
User: ronald
Date: 6/3/2009 7:38 pm
Views: 72
Rating: 4    Rate [
]

Cool nsh. Is it possible for you to give a step-by-step guidelines on how to set it up?

--- (Edited on 6/3/2009 7:38 pm [GMT-0500] by ronald) ---

Re: Sphinx-4 Environment Setup
User: nsh
Date: 6/4/2009 2:33 pm
Views: 521
Rating: 4    Rate [
]

> Is it possible for you to give a step-by-step guidelines on how to set it up?

Please read the doc

http://cmusphinx.sourceforge.net/sphinx4/#download_and_install

--- (Edited on 6/4/2009 2:33 pm [GMT-0500] by nsh) ---

Sphinx-4 Environment Setup
User: Senjam Shantirani
Date: 4/17/2014 1:18 am
Views: 76
Rating: 0    Rate [
]

 

I am using UBUNTU and I have downloaded SPHINX4 and able to execute in eclipse IDE the HelloWorld demo successfully. Now can somebody please tell me the way in which I can export it and execute the same way in terminal.

I tried the following:

COMPILATION:(Shows no error, but not sure if this is correct ! )

javac -classpath /home/sphinx4-1.0beta6-src/sphinx4-1.0beta6/src/sphinx4 edu/cmu/sphinx/demo/helloworld/HelloWorld.java

 

RUN TIME:(Shows error,need help ! )

java -classpath /home/sphinx4-1.0beta6-src/sphinx4-1.0beta6/src/sphinx4   edu.cmu.sphinx.demo.helloworld.HelloWorld

ERROR----

 

Exception in thread "main" java.lang.NoClassDefFoundError: edu/cmu/sphinx/demo/helloworld/HelloWorld
Caused by: java.lang.ClassNotFoundException: edu.cmu.sphinx.demo.helloworld.HelloWorld
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: edu.cmu.sphinx.demo.helloworld.HelloWorld. Program will exit.

Please let me know what should I do to solve this issue.I am new in JAVA and SPHINX4, have little or no knowledge in the use of ANT.

 

Thanks in advance,

Senjam Shantirani

 

 

 

--- (Edited on 4/17/2014 1:18 am [GMT-0500] by ) ---

PreviousNextAdd