【问题标题】:Google Speech to Text API not working [duplicate]Google Speech to Text API 不工作 [重复]
【发布时间】:2014-05-19 17:26:17
【问题描述】:

最近几天,我面临在 linux 中使用谷歌语音到文本 API 的问题。 以前它工作正常。但现在服务器没有响应。

我正在使用下面的脚本..

wget -q -U "Mozilla/5.0" --post-file sound.flac --header "Content-Type: audio/x-flac; rate=16000" -O - "http://www.google.com/speech-api/v1/recognize?lang=en-us&client=chromium" | cut -d\" -f12  > googleresponse.txt

任何人都面临同样的问题。

请帮忙。

【问题讨论】:

    标签: linux speech-recognition wget speech-to-text


    【解决方案1】:

    V1 不再工作。您必须切换到 V2。

    更多信息可以在这里找到: Google speech Api v1 not working?

    【讨论】:

    • 虽然此链接可能会回答问题,但最好在此处包含答案的基本部分并提供链接以供参考。如果链接页面发生更改,仅链接的答案可能会失效。
    猜你喜欢
    • 2019-10-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-10-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多