最近几天,我面临着在 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
任何人都面临同样的问题。
请帮忙。
最佳答案
V1 不再工作。您必须切换到 V2。
更多信息可以在这里找到: Google speech Api v1 not working?
关于linux - Google 语音转文本 API 无法正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23743700/