Java Speech Development Kit: A Tutorial
The API that is being studied is composed by three packages that form the voice Speech for Java SDK:
package javax.speech: has the basic interfaces and implementations for the Engine interface. It also implements the Central class providing access to all the other functions for creating the most important entities of the technology, the synthesizers and recognizers. It is the basis for the remaining packages, remembering that the recognizer and synthesizer interfaces extend the Engine interface. This package also has resources for managing the audio received by the Engine and, as a last feature, its SpeechEvent class is inherited by all the other events of the API.
package javax.speech.synthesis: has all the classes and interfaces used for the synthesis process. It also provides the Voice class that determines how the synthesis will take place.
package javax.speech.recognition: the largest of the packages, it implements the recognizing and grammar classes, given their close relation. Also, there are the result classes that are very important in this architecture.
The packages are presented in a jar file named ibmjs.jar and the compilation is possible only after adding its full filesystem pathname to the CLASSPATH system variable, as follows:
CLASSPATH = %CLASSPATH% ; .../ibmjs.jar
After that and the proper installation of the IBM ViaVoice software, it is necessary to execute the following command:
You can download the free IBM ViaVoice SDK Java at www.alphaworks.ibm.com/tech/speech.
You can download the free IBM ViaVoice SDK for Linux at www-4.ibm.com/software/speech/dev/sdk_linux.html.
Java Speech Interface from Sun is available at java.sun.com/products/java-media/speech/.
See java.icmc.usp.br for more information.
The authors acknowledge the support for this work from the The Research Foundation of the São Paulo State-FAPESP .
José Rodrigues Júnior is a graduate student at the ICMC-USP University of São Paulo. Dr. Dilvan Moreira is a lecturer at the ICMC-USP.
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- Petros Koutoupis' RapidDisk
- The Italian Army Switches to LibreOffice
- ServersCheck's Thermal Imaging Camera Sensor
- Linux Mint 18
- Oracle vs. Google: Round 2
- The FBI and the Mozilla Foundation Lock Horns over Known Security Hole
- Varnish Software's Varnish Massive Storage Engine
- Privacy and the New Math
Until recently, IBM’s Power Platform was looked upon as being the system that hosted IBM’s flavor of UNIX and proprietary operating system called IBM i. These servers often are found in medium-size businesses running ERP, CRM and financials for on-premise customers. By enabling the Power platform to run the Linux OS, IBM now has positioned Power to be the platform of choice for those already running Linux that are facing scalability issues, especially customers looking at analytics, big data or cloud computing.
￼Running Linux on IBM’s Power hardware offers some obvious benefits, including improved processing speed and memory bandwidth, inherent security, and simpler deployment and management. But if you look beyond the impressive architecture, you’ll also find an open ecosystem that has given rise to a strong, innovative community, as well as an inventory of system and network management applications that really help leverage the benefits offered by running Linux on Power.Get the Guide