I am trying to import javax.speech.recognition.Result; in my code. But i am getting class not found error.
On checking with javap; as follows:-
C:\Documents and Settings\ankit.g>javap javax.speech.recognition.Result Error: class not found: javax.speech.recognition.Result
I am using java 7, please find the following output:-
C:\Documents and Settings\ankit.g>java -version java version "1.7.0_05" Java(TM) SE Runtime Environment (build 1.7.0_05-b06) Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Please help, I am trying to work on speech recognition.
after installing jsapi.sh file the screenshot of the dir is as follows:-
are all the jar files needs to be included; any easy tutorial or steps would help me a lot.
preguntado el 28 de agosto de 12 a las 14:08
is not available on the classpath. You might have misplaced you speech recognition jar (java library containing speech recognition specific classes) containing this class. Check out on that.
Try the 'FreeTTS' implementation and get the JSAPI implementation from within the package. I don't remember that JSAPI was provided with the regular JDK, but I could be wrong.
The src zip file contains the JSAPI.sh and JSAPI.exe script with a readme on how to make it available.
Here is a Hello World type speech recognition sample program with commentary.
Aquí hay una stackoverflow question on Java speech recognition packages for Android. There are other stackoverflow questions and answers available as well.