Getting Started with Java Speech Applet Development

by Chris Robbins

Understanding the Java Speech API

I would first begin by going through the Java Speech API (JSPAI) FAQ to gain a sense of Sun's role in its development versus the role of the third party companies who actually implemented the API. This FAQ also includes some useful links to the JSAPI Specification and the Java Speech Grammar Format (JSGF) Specification, among others. Also, the FAQ concludes with "How do I use JSAPI in an Applet", which will later serve as our guide for setting up the IBM VoiceServer SDK to work as our Java Speech SDK and Recognition Engine:

Downloading and Installing a Voice Recognition SDK and Engine

Although, there does exist an IBM ViaVoice SDK for the purpose of developing Java Speech applications and applets, this SDK is a commercial product which is made available by Wizzard Software for downloading on only a 30-day trial basis.

An alternative solution is to use the completely free IBM VoiceServer SDK, which is a development kit for designing and testing VoiceXML applications, but includes all of the required components for developing Java Speech applets. The idea is to basically download and install the IBM VoiceServer SDK as directed, but then use it per the JSAPI FAQ, instead of the collection of, somewhat misleading, VoiceXML oriented instructions and guides provided with the VoiceServer download.

Thus, after reading the JSAPI FAQ, download the IBM WebSphere Voice Server SDK

Some notes on Installing the IBM VoiceServer SDK

Some notes on Compiling and Running Applets with Speech Recognition:

Designing and Developing Your Java Speech Applet

Once you have a working development environment, please refer to the following tutorial, as it is a indispensible overview of the architecture and usage of the Java Speech SDK. LINUX JOURNAL: Java Speech Development Kit: A Tutorial

Some Useful Links