语音到文本:单独播放MP3信息并检索单词 [英] Speech to Text: Play MP3 message by itself and retrieve words

查看:206
本文介绍了语音到文本:单独播放MP3信息并检索单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很少的MP3文件是演讲。我之前使用过Android Speech to Text,所以我知道它可以存储口语。有什么方法我们可以从MP3中获取口语并在 EditText 中显示?

I have few MP3 files which are speeches. I have used Android Speech to Text before so I know it can store spoken words. Is there any way where we can get the spoken words from the MP3 and display it in a EditText ?

I我正在考虑默默地播放MP3并识别单词,但不知道如何做到这一点。我正在使用Google语音引擎。

I am thinking about playing the MP3 silently and identify the words, but have no idea about how to do that. I am using Google Speech Engine.

推荐答案

没有原生的方法可以将包含口语的音频文件转换为Android上的文字。您需要使用第三方API执行此操作,例如。

There is no native way to convert an audio file that contains spoken words to text on Android. You'll need to use a third-party API to do this, such as.


  1. A& T

  2. Nuance

  3. iSpeech

  1. A&T
  2. Nuance
  3. iSpeech

也许 Pocket Sphinx ,虽然您可能需要自己编写文件输入流方面。

And perhaps Pocket Sphinx, although you may have to write the file input stream side of it yourself.

如果您不关心违反条款和条件,可以使用 Chrome演讲API

If you're not concerned about breaking terms and conditions, you could use the Chrome Speech API.

这篇关于语音到文本:单独播放MP3信息并检索单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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