j2me 中的文本转语音
有人知道 j2me 的良好文本转语音解决方案吗?我知道任何设备或任何 JSR 都没有正式支持它,但想知道是否有任何免费库可以做到这一点? j2me 和 python 之间的某种集成可以实现这种情况吗?我需要将其添加到一个大型 j2me 应用程序中,因此重新编写整个 python 并不是一个选择。
Anyone know of a good text-to-speech solution for j2me? I know it's not officially supported by any devices or in any JSR, but wondering if there are any free libraries that can do it? What about some kind of integration between j2me and python to allow this to happen? I need to add this to a big j2me application, so re-writing the whole thing python is not an option.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
从这里开始:
http://en.allexperts.com/ q/Java-1046/2008/12/J2ME-text-speech.htm
有一个用于语音处理的标准 Java API(既输出
和输入),Java 语音 API。您可以在这里阅读:
http://java.sun.com/products/java-media/ voice/index.jsp
不幸的是,JSAPI 1.0 并不是 J2ME 的标准部分。我愿意
不知道 J2ME 的 Java Speech 1.0 的任何实现。
Java Speech API 的下一版本旨在
可在许多 J2ME 环境(特别是 CLDC)中使用。
许多公司都承诺支持 JSAPI 2.0,包括
诺基亚、西门子和摩托罗拉。然而,我不认为所有
这些公司还支持它。
一些公司已经实现了 JSAPI 2.0。康弗赛
此处提供开发人员套件:
http://www.conversay.com/C3DKStore/tabid/113/Default。 ASPX
和这里的一些代码示例:
http://www.conversations.com/JSAPI2JSR113/ProgrammingExamples/tabid/ 213/Default.aspx
我不知道哪些版本的 J2ME 可以使用
JSAPI 2.0。对不起。
这不是一个很好的答案,但这是我所知道的。如果你
在 Conversay 开发者论坛上发帖,我想那里的人
会知道更多。
From here:
http://en.allexperts.com/q/Java-1046/2008/12/J2ME-text-speech.htm
There is a standard Java API for speech handling (both output
and input), the Java Speech API. You can read about it here:
http://java.sun.com/products/java-media/speech/index.jsp
Unfortunately, JSAPI 1.0 is not a standard part of the J2ME. I do
not know of any implementations of Java Speech 1.0 for J2ME.
The next version of the Java Speech API is intended to be
usable from many J2ME environments (particularly the CLDC).
Many companies have promised to support JSAPI 2.0, including
Nokia, Siemens, and Motorola. However, I don't think all of
those companies support it yet.
A few companies have implementations of JSAPI 2.0. Conversay
offers a developer kit here:
http://www.conversay.com/C3DKStore/tabid/113/Default.aspx
and some code examples here:
http://www.conversations.com/JSAPI2JSR113/ProgrammingExamples/tabid/213/Default.aspx
I don't know what versions of J2ME can possibly work with
JSAPI 2.0. Sorry.
This isn't a very good answer, but it's all I know. If you
post on the Conversay developers forum, I think the folks there
would know more.
另一种选择是将 TTS 包放在服务器上,然后使用您想要的文本连接到服务器并获取 mp3、aac 或 spx 文件。
请注意,如果您想要固定消息(左转、右转、停止等),您可以将资源保留在 jar 中或从服务器一次性下载。在这种情况下不需要 TTS 引擎,
Another option is to have the TTS package on a server, and then you connect to the server with the text you want to day and get an mp3, aac or spx file back.
Notice that if you want fixed messages (turn left, turn right, stop, etc. ) you can just keep the resources in the jar or have a one time download from a server. There's no need for a TTS engine in this case,