[英]Speaker labels - how to?
我创建了一个应用程序,该应用程序可以请求说话者说的使用
https://stream.watsonplatform.net/speech-to-text/api/v1/
但是当我申请
https://stream.watsonplatform.net/speech-to-text/api/v1/recognize?model=en-US_BroadbandModel&speaker_labels=true
它不会重播任何数据
我尝试使用JSON创建凭据
{
"profile": "low_latency",
"part_content_type": "audio/flac",
"word_alternatives_threshold": null,
"preserveAdaptation": false,
"disableBase": false,
"word_confidence": false,
"grammarId": null,
"amCustomModelPath": null,
"inactivity_timeout": 30,
"grammars": [],
"debugStats": false,
"timestamps": false,
"keywords": [],
"customModelPath": null,
"max_alternatives": 1,
"enabledGrammarIds": "",
"smart_formatting": false,
"keywords_threshold": null,
"firstReadyInSession": false,
"weights": null,
"speaker_labels": true,
"action": "recognize",
"profanity_filter": true
}
我还尝试创建2个服务,其中1个用于语音注册。 2另一个用于扬声器。
然后,应用程序获取语音注册的数据。 (未返回演讲者注册表数据)
该应用程序基于IBM https://github.com/watson-developer-cloud/android-sdk的github示例
我知道演讲者注册。 需要flacc音频文件。 我是否可能需要添加一些额外的代码来发送此请求?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.