从自己的声音文件到文本的语音 [英] Speech to Text from own sound file
问题描述
API不允许,但请参阅这个博客文章及其评论有潜在的解决方法。还要确保您的文件包含高质量的音频(至少16位和16 kHz)以获得更好的转录。
另请参见:
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?
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.
See also:
这篇关于从自己的声音文件到文本的语音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!