|
JavaFAQ Home » Java Newsletters

| Issue
No: 159
8 April
2003 |
| 12320 subscribers
|
Foreword: Excuse me for
possible mistakes. English is not native language for me.
In this issue:
Hello dear friends!
Question:
I tried to look at the classes for Java Speech technology... They are not
included into JDK. Even more, it seems SUN has no implementation for it. How we
can use it if there are no classes?
Answer:
Yes, that's right. Sun does not ship an implementation of JSAPI. Instead, it
works with third party speech companies. JSAPI (Java Speech API) allows Java
applications to incorporate speech technology into their user interfaces. It
defines a cross-platform API to support command and control recognizers,
dictation systems and speech synthesizers. JSAPI includes the Javadoc-style
API documentation for the approximately 70 classes and interfaces in the API.
The specification also includes a detailed Programmer's Guide which explains
both introductory and advanced speech application programming with JSAPI. Two
companion specifications are available: JSML and JSGF: the Java Speech API
Markup Language (JSML) and the Java Speech API Grammar Format (JSGF) are
companion specifications to the Java Speech API. JSML (currently in beta)
defines a standard text format for marking up text for input to a speech
synthesizer. JSGF version 1.0 defines a standard text format for providing a
grammar to a speech recognizer. Both specifications are available at http://java.sun.com/products/java-media/speech/
The Java Speech API is a freely available specification and therefore anyone
is welcome to develop an implementation. The following implementations are known
to exist:
FreeTTS on SourceForge.net
- Description: Open source speech
synthesizer written entirely in the Java programming language.
- Requirements: JDK 1.4. Read about more requirements on the
FreeTTS web site.
IBM's "Speech for Java"
- Description: Implementation based on
IBM's ViaVoice product, which supports continuous dictation, command and control
and speech synthesis. It supports all the European language versions of ViaVoice
-- US & UK English, French, German, Italian and Spanish -- plus Japanese.
- Requirements: JDK 1.1.7 or later or JDK 1.2 on Windows 95 with
32MB, or Windows NT with 48MB. Both platforms also require an installation
ViaVoice 98.
IBM's "Speech for Java" on Linux
- Description: Beta version of "Speech for
Java" on Linux. Currently only supports speech recognition.
- Requirements: RedHat Linux 6.0 with 32MB, and
Blackdown JDK 1.1.7
with native thread support.
The Cloud Garden
- Description: Implementation for use with
any recognition/TTS speech engine compliant with Microsoft's SAPI5 (with SAPI4
support for TTS engines only). An additional package allows redirection of audio
data to/from Files, Lines and remote clients (using the javax.sound.sampled
package). Some examples demonstrate its use in applets in NetscapeTM and IE browsers.
- Requirements: JDKTM 1.1 or better,
Windows 98, Me, 2000 or NT, and any SAPI 5.1, 5.0 or 4.0 compliant speech engine
(some of which can be downloaded from Microsoft's web site).
Lernout & Hauspie's TTS for Java Speech
API
- Description: Implementations based upon
ASR1600 and TTS3000 engines, which support command and control and speech
synthesis. Supports 10 different voices and associated whispering voices for the
English language. Provides control for pitch, pitch range, speaking rate, and
volume.
- Requirements: Sun Solaris OS version 2.4 or later, JDK 1.1.5. Sun
Swing package (free download) for graphical Type-n-Talk demo.
- More information: Contact
Edmund
Kwan, Director of Sales, Western Region
Speech and Language Technologies and Solutions (ekwan@lhs.com)
Conversa Web 3.0
- Description: Conversa Web is a
voice-enabled Web browser that provides a range of facilities for
voice-navigation of the web by speech recognition and text-to-speech. The
developers of Conversa Web chose to write a JSAPI implementation for the speech
support.
- Requirements: Windows 95/98 or NT 4.0 running on Intel Pentium 166
MHz processor or faster (or equivalent). Minimum of 32 MB RAM (64 MB
recommended). Multimedia system: sound card and speakers. Microsoft Internet
Explorer 4.0 or higher.
Festival
- Description: Festival is a general
multi-lingual speech synthesis system developed by the Centre for Speech
Technology Research at the University of Edinburgh. It offers a full text to
speech system with various APIs, as well an environment for development and
research of speech synthesis techniques. It is written in C++ with a
Scheme-based command interpreter for general control and provides a binding to
the Java Speech API. Supports the English (British and American), Spanish and
Welsh languages.
- Requirements: Festival runs on Suns (SunOS and Solaris), FreeBSD,
Linux, SGIs, HPs and DEC Alphas and is portable to other Unix machines.
Preliminary support is available for Windows 95 and NT. For details and
requirements see the
Festival download page.
Elan Speech Cube
- Description: Elan Speech Cube is a
Multilingual, multichannel, cross-operating system text-to-speech software
component for client-server architecture. Speech Cube is available with 2 TTS
technologies (Elan Tempo : diphone concatenation and Elan Sayso : unit
selection), covering 11 languages. Speech Cube native Java client supports
JSAPI/JSML.
- Requirements: JDK 1.3 or later on Windows NT/2000/XP, Linux or
Solaris 2.7/2.8, Speech Cube V4.2 and higher.
- About Elan Speech: Elan Speech is an established worldwide provider
of text-to-speech technology (TTS). Elan TTS transforms any IT generated text
into speech and reads it out loud.
Java wimps please close your ears ... For
the Java programmer who thought he knew everything there was to know about
Java, have a look at the most advanced Java newsletter archived on the
website http://www.smotricz.com/kabutz Guess
what, it won't even cost you anything! Subscribe today - you won't be
disappointed.
Tip based on JSAPI FAQ
Question:
Can I use HttpURLConnection class to make HTTPS requests in java 1.2?
Answer:
No, you need to use JSSE which includes HTTPS support - the ability to access
data such as HTML pages using HTTPS. Since Java 1.4 it is the part of J2SE.
Just take HttpsURLConnection class.
| GetRight is a Download Manager
program to help you download files from the Internet.

Most people have already experienced the problem...you are downloading a
file, and your modem gets disconnected, or call waiting interrupts, or your
computer crashes, or any number of other problems. Then you have to restart the
download from the very beginning, losing all the time you had already
spent.
GetRight solves this problem by allowing you to resume a
download. If you got part of the file before the problem, GetRight will
restart the download in the middle so it only gets the rest of the file,
without having to restart from the beginning. This makes downloading your files
much easier and faster.
GetRight has many other more advanced features to help you download
the files--from re-dialing the modem automatically to turning off the computer
when it is done getting the files (so you can just leave it alone to do the
work!) You can even set a time when it should dial the modem to get the
files...so it can do all the work in the middle of the night while you sleep.
There are too many other features to list here. If you have ever thought "I
wish when downloading I could do ______", there's a good chance GetRight already
does it!
| | | | | |
Question:
Why does the InputStreamReader class has a read() method
that returns an int and not a char? Why we need additional steps for
converting?
Answer:
When end of stream is reached we always get the value -1. It is not possible
with char. How do we know when stream is empty? We can not use EOF, EOL and so
on...
Latest posts on our
message
board |
| java http Proxy server
in http proxy server i am
communicate with the webservers using URL and URLConnection. it is work fine.
but i didn't know how to access the mails through this. this
thread is
here... | | |
| Cannot go on to the next file...
hi all... i haf this problem...
when i add these codes to my program, it cannot read the next text files...
can help me solve it?
this
thread is
here... | | |
| What happens with JMenuItem?
Hi!
I've created an
application with several frames. The main frame has a Menu Bar with all the
function that you can use, and each window has a Popup Menu with the most
useful functions. I thought (not enought, obviously) that you can create a
JMenuItem and use it in several Menus. For example, Create a 'Copy'
JMenuItem and use it in the Menu Bar and the JPopupMenu ... but it doesn't
work! When I add a JMenuItem, which was previously added to the Menu Bar, to
a JPopupMenu ... it disappear from de Menu Bar! Why?
public class MainFrame extends JFrame{ this
thread is
here... | | |
| Applet-Servlet
I have an Applet and a Servlet
changing java objects derilized multiple times. After a few seconds the applet
is started it stops. The applet is very easy, it has a thread that send and
object and recieve another one and the servlet just the opposite. Anyone can
help me? this
thread is
here... | | |
| Meta_mask?
I have a question when I use
InputEvent in AWT. Several constants are defined in InputEvent, such as
CTRL_MASK, SHIFT_MASK and META_MASK. Would you tell me what the META_MASK means?
Thanks! this
thread is
here... | | |
| use a dll (written in C) in java programm!
Hi, I have a Frame_Grabber.dll
written in C. How can I use this DLL in my java application?
I know
how to use java native interface, and to create my own dll, but what if the dll
already exists? Should I create my own DLL in any case? Or I can use this
FRAME_GRABBER.DLL directly and how pls??
Does someone know it? this
thread is
here... | | |
| Components are getting resized in gridbag layout.
Hi, I am arranging
components in gridbag layout. My parent container is JTabbedpane. But
JTextFields (and others too) are getting resized depending on there contents.
Can anyone help me in solving this problem. Thanks in advance,
Shailesh this
thread is
here... | | |
Please ask your questions and help each
other at our Java Forum: http://javafaq.nu/forum/
The Java FAQ Daily Tips is a newsletter
that is only sent to those who have specifically subscribed
to it (double opt-in).
To subscribe/unsubscribe to "The Java FAQ
Daily Tips" weekly edition newsletter visit our page
here: http://www.javafaq.nu/plm2html/my_subscription.shtml
If you have troubles please contact us: subscription@javafaq.nu
If you have added a link to http://javafaq.nu on your WEB-site, please let us
know and you will get listed on our "pages linking to us" pages! If your
page is a programming is programming relates you will of
course get listed in the WEB-directory as well. Also, if you link to us, you
have a chance to be listed in this
newsletter as well.
More information and graphics artworks can
be found here http://javafaq.nu/other/linktous.shtml
For information on advertising on the Java
FAQ's Daily Tips Newsletter, send an email to: adv@javafaq.nu You will get the answer
immediately from auto responder!
Send your comments, questions, praise and
complaints to us: comments@javafaq.nu
Copyright (c) 2000 -
2003 John Andersson, All rights reserved.
Printer Friendly Page
Send to a Friend
..
Search here again if you need more info!
|