top of page
Search

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.

Screen Shot 2015-03-23 at 1.24.15 PM.png
JSAPI Implementation.png

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

Screen Shot 2015-03-23 at 1.43.39 PM.png

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.

Screen Shot 2015-03-23 at 1.45.53 PM.png

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

Screen Shot 2015-03-23 at 1.46.10 PM.png

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

Screen Shot 2015-03-23 at 1.47.39 PM.png
Screen Shot 2015-03-23 at 1.48.42 PM.png

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

Screen Shot 2015-03-23 at 3.01.34 PM.png

Now to test if ANT really worked

Theoretically ANT has now been added to eclipse.

Screen Shot 2015-03-23 at 3.11.00 PM.png

Screen Shot 2015-03-23 at 3.11.14 PM.png

Screen Shot 2015-03-23 at 3.36.14 PM.png

Screen Shot 2015-03-23 at 3.36.22 PM.png

 
 
 

Recent Posts

See All
The End

So 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...

 
 
 
Final Code: Dictionary

/** *Java Speech Grammar Format (JSGF) file *This file holds all the words that the program will recognize **/...

 
 
 
Final Code: Dialogue File

/* * Copyright 2013 Carnegie Mellon University. * Portions Copyright 2004 Sun Microsystems, Inc. * Portions Copyright 2004 Mitsubishi...

 
 
 

コメント


Featured Posts
Check back soon
Once posts are published, you’ll see them here.
Recent Posts
Archive
Search By Tags
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
  • Facebook Classic
  • Twitter Classic
  • Google Classic
  • RSS Classic

© 2023 by TOKYO DESIGN. Proudly created with Wix.com

bottom of page