首页 > 解决方案 > 如何使用 gcloud 命令行启用单词置信度

问题描述

我正在尝试使用 gcloud 命令启用语音 API 的单词级别置信度。但是, enable_word_confidence 参数似乎仅在 beta 版本中可用。有没有办法使用 gcloud 命令配置参数或编辑配置文件?约瑟夫

标签: gcloud

解决方案


刚刚找到答案……正确的命令应该是 gcloud alpha ml speech identify filename --language-code=en --include-word-confidence

因为该选项仅在 alpha 版本中可用。


推荐阅读