开发者

How to use Text to Speech (TTS) in blackberry?

开发者 https://www.devze.com 2023-01-15 07:49 出处:网络
I want to make text to speech converter, I foun开发者_运维问答d java have provided free TTS (Text to Speech) to do this,

I want to make text to speech converter, I foun开发者_运维问答d java have provided free TTS (Text to Speech) to do this, but i don't know how to implement in blackberry. Please help me to use it.


From the freetts faq, the code requires JDK 1.4, so is using features that aren't available on the blackberry device java API:

Why must I use Java 2 SDK, Standard Edition, v1.4?

Some of the many compelling reasons to use Java 2 SDK, Standard Edition, v1.4. are:

New IO package - Java 2 SDK, Standard Edition, v1.4 provides a new IO (java.nio) package that provides memory mapped file I/O. This package drastically reduces the load times of the FreeTTS databases. Regular expressions - Java 2 SDK, Standard Edition, v1.4 provides a new package for regular expression matching (java.util.regex). They are used in the FreeTTS text normalization step. Assert Facility - Java 2 SDK, Standard Edition, v1.4 added the new assert keyword to ensure that certain conditions are satisfied before continuing execution. FreeTTS uses this keyword in all stages of speech synthesis.
Compiler Optimizations - Java 2 SDK, Standard Edition, v1.4 has numerous compiler optimizations that produce faster and more compact code. For example, with the -server switch, byte codes are optimized to eliminate bounds checking on array accesses whenever possible.

0

精彩评论

暂无评论...
验证码 换一张
取 消