使用java技术实现IBM VIAVOICE 语音朗读技术
Java Speech API 允许开发人员将语音技术整合到 Java applet 和应用程序的用户界面中。这种 API 规定一个跨平台的接口来支持命令—控制识别器、听写系统和语音合成器。
这个综合 API 被分成几个规范:
- Java Speech API 规范(Java Speech API Specification,JSAPI)
- Java Speech API 程序员指南
- Java Speech API 语法格式规范(Java Speech API Grammar Format Specification,JSGF)
- Java Speech API 标记语言规范(Java Speech API Markup Language Specification,JSML)
这个 API 没有 Sun 公司的参考实现,但是有许多第三方实现,包括 Speech for Java(可以从 IBM alphaWorks 获得),它使用 ViaVoice 来支持语音命令识别、听写和文本到语音的合成。
java.sun.com官方资料:
Where can I get the Java Speech API (JSAPI)?The Java Speech API (JSAPI) is not part of the JDK and Sun does not ship an implementation of JSAPI. Instead, we work with third party speech companies to encourage the availability of multiple implementations.
What is the Java Speech API (JSAPI)?The 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.
When will the JSAPI specification be available?The Java Speech 1.0 API specification was released on October 26, 1998, and is available at http://java.sun.com/products/java-media/speech/
What does the Java Speech API specification include?The Java Speech API specification 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 specification is not yet provided with the .class files needed to compile applications with JSAPI.
What are 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/
How was the JSAPI specification developed?Sun Microsystems, Inc. worked in partnership with leading speech technology companies to define the initial specification of the Java Speech API, JSML and JSGF. Sun is grateful for the contributions of:
The JSAPI specification and JSGF and JSML specifications were developed as open specifications with input from a public review process.
How does JSAPI relate to other Java APIs?The Java Speech API is part of a family of APIs that work together as a suite to provide customers with enhanced graphics and extended communications capabilities. These APIs include the
What JSAPI implementations are now available?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. Note: Sun Microsystems, Inc. makes no representations or warranties about the suitability of the software listed here, either express or implied, including but not limited to the implied warranties of mechantability, fitness for a particular purpose, or non-infringement. The implementations listed here have not been tested with regard to compliance to the JSAPI specification, nor does their appearance on this page imply any form of endorsement of compliance on the part of Sun. FreeTTS on
IBM's "Speech for Java"
IBM's "Speech for Java" on Linux
The Cloud Garden
Lernout & Hauspie's TTS for Java Speech API
Conversa Web 3.0
Festival
Elan Speech Cube
How do I use JSAPI in an applet?It is possible to use JSAPI in an applet. In order to do this, users will need the Java Plug-in (see http://java.sun.com/products/plugin). The reason for this is that JSAPI implementations require access to the AWT EventQueue, and the built-in JDK support in the browsers we've worked with denies any applet access to the AWT EventQueue. The Java Plug-in doesn't have this restriction, and users can configure the Java Plug-in to grant or deny applet access to the AWT Queue. If you are using JRE 1.1:Have your users follow these steps if your applet is based upon JDK 1.1:
Then perform these steps on your applet:
If you are using JRE 1.2:The Java 2 platform's security model allows signing as done with JDK 1.1, but it also permits finer grained access control. The following are just some examples, and we recommend you read the Java Security Architecture Specification at the following URL before deciding what to do: http://java.sun.com/products/jdk/1.2/docs/guide/security/spec/security-spec.doc.html For a quick start, have your users do the following if your applet uses the Java 2 (i.e., JDK 1.2) platform:
The information in this FAQ is not meant to be a complete tutorial on the JDK 1.1 and JDK 1.2 architecture. Instead, it is meant to be hopefully enough to get you started with running JSAPI applets in a browser. We suggest you visit the following URLs to obtain more information on the Java Security models: Java Security Home Page: Tutorial on JDK 1.1 Security: Tutorial on JDK 1.2 Security:
Why does Netscape Navigator or Internet Explorer throw a security exception when I use JSAPI in an applet?JSAPI implementations require access to the AWT EventQueue. The built-in Java platform support in the browsers we've worked with denies an applet access to the AWT EventQueue. As a result, JSAPI implementations will be denied access to the AWT EventQueue. In addition, we are not aware of a way to configure the built-in Java platform support in these environments to allow access to the AWT EventQueue. The Java Plug-in (see http://java.sun.com/products/plugin), however, can be configured to allow an applet the necessary permissions it needs to use an implementation of JSAPI. As a result, we currently recommend using the Java Plug-in for applets that use JSAPI.
I'm concerned about JSAPI applets "bugging" my office. What are the plans for JSAPI and security on JDK 1.2?The JSAPI 1.0 specification includes the SpeechPermission class that currently only supports one SpeechPermission: javax.speech. When that permission is granted, an application or applet has access to all the capabilities provided by installed speech recognizers and synthesizers. Without that permission, an application or applet has no access to speech capabilities. As speech technology matures it is anticipated that a finer-grained permission model will be introduced to provide access by applications and applets to some, but not all, speech capabilities. Before granting speech permission, developers and users should consider the potential impact of the grant.
Does JSAPI allow me to control the audio input source of a recognizer or redirect the audio output of a speech synthesizer?This support is currently not in JSAPI. We plan to use the Java Sound API to help provide this support in the future. We purposely left room for expansion in the javax.speech.AudioManager interface and will further investigate this support after the Java Sound API is finalized.
|
原文链接: http://blog.csdn.net/yincheng01/article/details/3514836
转载于:https://my.oschina.net/junwong/blog/48010
使用java技术实现IBM VIAVOICE 语音朗读技术相关推荐
- 基于Google的嵌入式系统android开发语音技术(语音搜索,语音朗读文章,语音控制)
android是Google推出的嵌入式操作系统,有着广泛的根基与基础.最近一个中关村的一个CEO朋友送了一个摩托罗拉android手机,想玩玩语音技术过把瘾.如何用android开发语音技术应用呢, ...
- 微软语音 AI 技术与微软听听文档小程序实践 | AI ProCon 2019
演讲者 | 赵晟.张鹏 整理 | 伍杏玲 出品 | CSDN(ID:CSDNnews) [CSDN 编者按]9 月 7 日,在CSDN主办的「AI ProCon 2019」上,微软(亚洲)互联网工程院 ...
- 微软语音AI技术与微软听听文档小程序实践 | AI ProCon 2019
演讲嘉宾 | 赵晟.张鹏 整理 | 伍杏玲 来源 | CSDN(ID:CSDNnews) [导语]9 月 7 日,在CSDN主办的「AI ProCon 2019」上,微软(亚洲)互联网工程院人工智能语 ...
- 方正畅听 文字识别自动语音朗读软件
方正畅听是一款基于科大讯飞语音合成技术开发的免费文字识别自动语音朗读软件,它可以帮您把任何文本文字转换成语音朗读,看书变成听书,支持朗读RTF.TXT.DOC.PDF.HTML等类型的文本,本次发布的 ...
- 语音朗读中多音字问题
语音朗读技术日益普及但多音字问题始终没有得到解决,虽然采用词组可以减少一些多音字识别的困难,但不能从根本上解决问题.在朗读中出现将字音读错实在使人不爽.所以大家都来集思广益,想出切实可行的解决方法,让 ...
- 说话就能轻松操控,科大讯飞语音唤醒技术带来便利体验!
如果,紧箍咒失灵了,孙悟空还会听唐僧的话吗? 如果,专注驾驶途中,一声呼唤便可响应需求是否很方便? 如果,手机落在卧室的某个角落,轻轻唤醒便能找到是否心情舒畅? 现实生活中的这一切,都可以通过语音唤醒 ...
- mysql朗读,Android技术分享-文字转语音并朗读
Android技术分享-文字转语音并朗读 最近在做一个项目,其中有一个功能是需要将文本转换成语音并播放出来.下面我将我的做法分享一下. 非常令人开心的是,Android系统目前已经集成了TTS,提供了 ...
- 关于 java 实现 语音朗读
最近有个java项目要实现 一个 java语音朗读的功能,百度了半天 没有现成的 .也是一头雾水.没具体思路.....大体上总结了下网上的资料 1.java 实现起来 比c或者vb 能麻烦点,或者是 ...
- 使用java实现语音朗读
jacob jar包及API下载:https://download.csdn.net/download/hjinping/10391308 1.64位操作系统的将jacob-1.17-M2-x64.d ...
最新文章
- 图像与数据类型的对应,以及如何显示
- Day13 目录结构自定义Yum仓库源码包编译安装(Service02)
- 【玩转server 2019系列】Windows server 2019打开windows defender提示“需要新应用打开windows defender”的解决方法
- 管理心得之学术,交通,作息,心态
- 面试(后台开发,转载)
- [Android]你不知道的Android进程化--进程信息
- 【MFC】对话框中创建工具栏
- PHP中数组的三种排序方法
- IDEA代码自动换行
- MATLAB实现一个简单的车牌识别小程序
- 汇川PLC编程软件AutoShop的应用
- 利用python炒股talib_TaLib在股票技术分析中的应用
- UI——PS色彩搭配
- vue 实时显示当前时间
- 适合老爸用的在线的LaTeX数学公式编辑器
- jpg如何缩小kb?jpg图片压缩怎么弄?
- matlab自由落体程序,基于MATLAB的自由落体运动仿真.pdf
- windows7最简单最快速解决“此windows副本不是正版”(“This copy of Windows is not genuine”)方法
- Linux内核地址空间分布
- 《东周列国志》第八十七回 说秦君卫鞅变法 辞鬼谷孙膑下山
热门文章
- 策略梯度算法简明教程
- 什么是Geotools
- FPGA 20个例程篇:20.USB2.0/RS232/LAN控制并行DAC输出任意频率正弦波、梯形波、三角波、方波(二)
- 一个不错的媒体网页播放器(国外的)
- 大疆SDK-初识MSDK V5
- webRTC——SDP(Session Description Protocal)
- CF731D 80-th Level Archeology
- 跨境电商消费者趋势总结
- 微信小程序连接mqtt通信
- 论文阅读 (68):Self-Contrastive Learning: An Efficient Supervised Contrastive Framework with Single...