linux - Google 语音转文本 API 无法正常工作

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

最近几天,我面临着在 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/

相关文章:

python - Linux通过弹出密码获取root权限

linux - 什么是linux进程表?它由什么组成?

python - ImportError: libcblas.so.3: 无法打开共享对象文件: 没有那个文件或目录

windows-server-2008 - Windows Server 2008 : Speech Runtime - What am I missing?

php - 使用php将文件从其他站点下载到Web服务器

grep - 如何将 URL 传递给 Wget

linux - Perl:检查特定文本的标准输出并执行操作

python - 给定不同大小的音频文件进行音素识别?

linux - 如何告诉 wget 仅下载特定路径中的文件

speech-recognition - 嵌入式应用的语音识别引擎