简体   繁体   English

使用Python语音转文字

[英]Speech to Text using Python

How can I do a very accurate speech to text conversion using python ? 如何使用python进行非常准确的语音到文本转换? Is it possible to do this with the use of some Python modules ? 是否可以通过使用某些Python模块来做到这一点? I have tried speech recognition module but failed to achieve the task. 我已经尝试过语音识别模块,但未能完成任务。 can you guys help ? 你们可以帮忙吗?

"very accurate" is depends on your accent. “非常准确”取决于您的口音。 i suggest you: 我建议你:

Google Speech Recognition Google语音识别

English is not the best choice for accuracy, you main language is. 英语不是准确性的最佳选择,而主要语言是英语。 (accent) (口音)

first, you have to install python 2.x/3.x and pyaudio. 首先,您必须安装python 2.x / 3.x和pyaudio。 then there is an example named "Recognize speech input from the microphone" on that website, you can use it for simple translation. 然后在该网站上有一个名为“识别来自麦克风的语音输入”的示例,您可以将其用于简单的翻译。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM