java中如何将语音转换为文本?

发布于 2024-10-04 21:39:33 字数 41 浏览 0 评论 0原文

任何人都可以分享一些用于在 Java 中将语音转换为文本的代码片段。

Can anyone share some code snippet used to convert Speech to text in Java.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

回首观望 2024-10-11 21:39:33

语音识别并不是一件容易的事,oracle 提供了一个 API。

Java Speech API 允许 Java 应用程序将语音技术合并到其用户界面中。它定义了一个跨平台 API 来支持命令和控制识别器、听写系统和语音合成器。

您可以在此处查看完整文档

Speech Recognition is not a easy task There is a API Available by oracle.

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.

You can view the full documentation here

清风无影 2024-10-11 21:39:33

Sphinx API is very widely used for speech to text conversion. You can find a simple tutorial on how to do speech recognition using sphinx in http://preciselyconcise.com/apis_and_installations/sphinx.php

蘸点软妹酱 2024-10-11 21:39:33

如果使用 python 进行转换会容易得多。您可以使用 python 作为应用程序的外部服务来进行转换。

It's much easier if you use python for the conversion. You can use python as an external service for your app to do the conversion.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文