【问题标题】:Google Speech to text: The video model is currently not supported for language : nl-NLGoogle Speech to text:视频模型目前不支持语言:nl-NL
【发布时间】:2018-04-26 12:18:48
【问题描述】:

使用的网址:https://cloud.google.com/speech-to-text/

我通过 audacity 上传了一个 wav 音频文件(同时导出为 mp3/wav/flac)。

我选择了“nederlands”(荷兰语),标点符号可以是on或者of并上传导出。

首先它上传,给我“转录”信息,然后:

The video model is currently not supported for language : nl-NL

我在浏览器窗口的控制台中看到:

Failed to load resource: the server responded with a status of 400 ()
speech.min.js:1132 {
  "error": {
    "code": 400,
    "message": "Invalid recognition 'config': The video model is currently not supported for language : nl-NL.",
    "status": "INVALID_ARGUMENT"
  }
}

cxl-services.appspot.com/proxy?url=https%3A%2F%2Fspeech.googleapis.com%2Fv1p1beta1%2Fspeech%3Arecognize Failed to load resource: the server responded with a status of 500 ()
speech.min.js:1132 A server error occurred!

如果我使用麦克风录制消息,它可以正常工作。 我做错了什么?

【问题讨论】:

  • 对于fr-FR 使用video 模型对我来说同样的问题

标签: speech-to-text google-speech-api


【解决方案1】:

语音转文本 API 提供了四种不同的模型可供选择:

  • 视频
  • 电话呼叫
  • command_and_search
  • 默认

(https://cloud.google.com/speech-to-text/docs/basics#select-model)

并非所有型号都适用于所有语言。尝试将default 模型用于fr-FRnl-NL。 我对de-DE 有同样的问题。它不适用于 video 模型,但使用 default 模型有效。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-06-15
    • 1970-01-01
    • 2016-03-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多