JSAPI & Intro to ANT
- Yavneeka Patel
- Mar 23, 2015
- 1 min read
So after watching a few youtube tutorials, I learned that one reason my project might not be working is because I didn't have a Java Speech API downloaded into my project. According to wikipedia: "The Java Speech API (JSAPI) is an application programming interface for cross-platform support of command and control recognizers, dictation systems, and speech synthesizers."
The youtube video I watched over break that was most helpful led me to a mirror to dowload sphinx. I downloaded it again, and started from the very beginning.
Inside the file, there are instructions to set up JSAPI in two forms (html and txt). I followed the UNIX Systems instructions.


I had to accept terms and conditions before the JSAPI would be unzipped and deposited in the folder.

We also have to put the jar files containing the Sphinx code into the project file. To do this open a new Java Project and right click on it to get to the properties tab.

Under Java Build Path, click on the "Add External JARs" button.

Click on all 4 Jar files located in the lib of the sphinx folder (this includes jsapi).


Now, to download ANT for Eclipse, I went to the developer website and followed their instructions.

Now to test if ANT really worked
Theoretically ANT has now been added to eclipse.




Recent Posts
See AllSo we've made it to the very end. Through all the ups and downs and we're all still standing. It was an amazing semester and I made some...
/** *Java Speech Grammar Format (JSGF) file *This file holds all the words that the program will recognize **/...
/* * Copyright 2013 Carnegie Mellon University. * Portions Copyright 2004 Sun Microsystems, Inc. * Portions Copyright 2004 Mitsubishi...
コメント