Java Speech to Text api/库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/20828605/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 04:38:38  来源:igfitidea点击:

Speech to Text api/library

javatextspeech

提问by user2612619

What I need is an API/Library that will allow me to convert .wav files (or other media files is necessary) to their text equivalent. Does a library/api like this exist?

我需要的是一个 API/Library,它允许我将 .wav 文件(或其他媒体文件是必需的)转换为它们的等效文本。是否存在这样的库/api?

采纳答案by Talha Masood

This is rather typical Question. Anyhow depending on the language you are using there may be many different choices.

这是一个相当典型的问题。无论如何,根据您使用的语言,可能有许多不同的选择。

Javahttp://voce.sourceforge.net/

Java http://voce.sourceforge.net/

PHPhttp://www.speechapi.com/and http://cmusphinx.sourceforge.net/

PHP http://www.speechapi.com/http://cmusphinx.sourceforge.net/

Basically, the best option for you is to use some online cloud-based API, that will take your .wav input and return you the response in the text.

基本上,对您来说最好的选择是使用一些在线的基于云的 API,它将接受您的 .wav 输入并返回文本中的响应。

In this way, your API will be accessible from any language and will take a lot of pain out of your code.

通过这种方式,您的 API 将可以从任何语言访问,并且可以从您的代码中消除很多痛苦。

回答by s3lph

If you'd have searched for java speech recognition, you would've found the Java Speech APIor short JSAPI

如果您搜索过java 语音识别,您会发现Java Speech API或简短的JSAPI