【问题标题】:Google api that convert voice to text?将语音转换为文本的Google api?
【发布时间】:2015-05-29 06:11:43
【问题描述】:

我知道 Android 具有将语音转换为文本的功能。我也看到谷歌也有这个功能。其实 google 已经在 Android 中引入了这个。 我想在我的桌面应用程序中使用 google Voice to Text api。那么有没有适用于桌面应用程序的google api?

【问题讨论】:

    标签: java android google-api desktop-application


    【解决方案1】:

    是的,有:https://github.com/gillesdemey/google-speech-v2/

    您需要在谷歌程序员控制台中启用此 API,为此您需要将自己添加到 chromium 开发列表中,因为在其他情况下此选项是隐藏的。然后您需要获取 API 密钥。

    要将文件编码为所需的 flac 格式以将它们发送到 google 服务器,您可以使用:http://javaflacencoder.sourceforge.net/

    【讨论】:

    • 大约一个月前它对我有用。据我所知,谷歌并没有改变他们的 API,因为有人付费使用它。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-01-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多