java 免费(最好是开源)语音到文本库的选项

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10116366/
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-10-30 23:41:36  来源:igfitidea点击:

Options for free (and preferably open source) speech to text library

javapythonspeech-recognitionspeech-to-text

提问by Soumya Simanta

Looking for a library (with Java or Python APIs) that converts speech to text. 100% accuracy is not an absolute requirement because I just need to run some experiments for a prototype. Ideally it should accept an input file (e.g., .wav) and return the output as text.

寻找将语音转换为文本的库(使用 Java 或 Python API)。100% 准确率并不是绝对要求,因为我只需要为原型运行一些实验。理想情况下,它应该接受输入文件(例如,.wav)并将输出作为文本返回。

Thanks.

谢谢。

采纳答案by Jasonw

You can use the Sphinx like kdazzle has suggested for you or you can also check out other java implementation here.

您可以使用 kdazzle 为您推荐的 Sphinx,或者您也可以在此处查看其他 java 实现。

For python library, check out pyspeechor dragonfly. If the library can output the text, I think the library should be possible to print out the text into a file.

对于Python库,检查出pyspeech蜻蜓。如果库可以输出文本,我认为库应该可以将文本打印到文件中。

回答by kdazzle

Sphinxis pretty good. It's made by the folks at Carnegie Mellon.

狮身人面像还不错。它是由卡内基梅隆大学的人制作的。