如何从音频剪辑转换文本? [英] how to convert text from audio clip?

查看:96
本文介绍了如何从音频剪辑转换文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个来自json文件的音频文件链接,现在我需要将音频剪辑转换为文本,并且此文本应与android编程中的语音转换为文本进行比较. 如何将音频文件转换为文本,我在Google上搜索了很多,仍然找不到正确的答案,任何建议将不胜感激.

I have an audio file link came from json file now I need to convert the audio clip to text and this text should compare with a speech to text in android programming. how to convert this audio file to text, I had googled a lot, still didn't find the correct answer, any suggestions will be greatly appreciated.

推荐答案

使用Google Cloud Machine Learning平台提供的两个强大的面向自然语言的API: Cloud Speech API Cloud Natural语言API .通过将它们一起使用,您可以创建可以处理多种广泛使用的语言的语音的应用.

use two powerful natural language-oriented APIs offered by the Google Cloud Machine Learning platform: Cloud Speech API and Cloud Natural Language API. By using them together, you can create apps that can handle speech in a variety of widely spoken languages.

可以处理语音的应用程序必须具有以下功能:

An application that can process speech must have the following capabilities:

  1. 它必须能够从原始音频数据中提取单个单词.
  2. 它必须能够对语法进行有根据的猜测 它提取的单词之间的关系.
  1. It must be able to extract individual words from raw audio data.
  2. It must be able to make educated guesses about the grammatical relationships between the words it has extracted.

借助Cloud Speech和Cloud Natural Language API,您可以在几分钟内将上述功能添加到Android应用中.

The Cloud Speech and Cloud Natural Language APIs enable you to add the above capabilities to your Android app in a matter of minutes.

这篇关于如何从音频剪辑转换文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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