讲话从自己的声音文件中的文本 [英] Speech to Text from own sound file

查看:182
本文介绍了讲话从自己的声音文件中的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如你可能知道,实现语音到文本pretty的方便了Android API。你所要做的仅仅是调用的API的意图,它会返回文本为您服务。我的情况有点不同,我有一个prerecorded,我已经从用户记录并保存在SD卡上3GPP的声音文件。我想知道,如果有可能的转录成像任何其他语音识别文本。是否语音到文本的API允许上传你要处理自己的声音文件?或者,这是不可能的?

As you probably know, implementing speech-to-text is pretty easy with the Android API. All you have to do is just call up the API's intent and it will return text for you. My case is a bit different, I have a prerecorded 3GPP sound file that I've recorded from the user and is saved on the SD card. I want to know if it's possible to transcribe that into text like any other speech recognition. Does the speech-to-text API allow for uploading you're own sound files to be processed? Or is this impossible?

推荐答案

该API不允许它,但看到的这个博客帖子和评论一个潜在的解决方法。另外,还要确保您的文件包含高品质音频(至少16位和16千赫),以获得更好的转录。

The API does not allow it, but see this blog post and its comments for a potential workaround. Also make sure that your file contains high quality audio (at least 16 bit and 16 kHz) to get a better transcription.

另请参阅:

  • <一个href="http://stackoverflow.com/questions/2319735/voice-recognition-on-android-with-recorded-sound-clip">Voice承认在Android与录制的声音片段?

这篇关于讲话从自己的声音文件中的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆