如果在提交语音检测任务时未设置 Callback 字段,则需要通过本接口获取检测结果
///如果在提交语音检测任务时未设置 Callback 字段,则需要通过本接口获取检测结果
///提交语音检测任务时,需要指定 Scenes 场景参数,目前要求您设置 Scenes 参数值为:["default"];而在检测结果中,则包含请求时指定的场景,以及对应类型的检测结果。
///| 场景 | ///描述 | ///Label | ///
|---|---|---|
| 语音检测 | ///语音检测的检测类型 | ///
/// normal:正常文本 ///porn:色情 ///politics:涉政 ///abuse:谩骂 ///ad :广告 ///terrorism:暴恐 ///contraband :违禁 ///customized:自定义词库。目前白名单开放,如有需要请联系我们。 /// |
///
| 名称 | ///类型 | ///是否必需 | ///描述 | ///
|---|---|---|---|
| Signatue | ///string | ///是 | ///签名,具体见签名生成说明 | ///
{
/// "Code": 0,
/// "DataId": "1400000000_test_data_id",
/// "ScanFinishTime": 1566720906,
/// "HitFlag": true,
/// "Live": false,
/// "Msg": "",
/// "ScanPiece": [{
/// "DumpUrl": "",
/// "HitFlag": true,
/// "MainType": "abuse",
/// "RoomId": "123",
/// "OpenId": "xxx",
/// "Info":"",
/// "Offset": 0,
/// "Duration": 3400,
/// "PieceStartTime":1574684231,
/// "ScanDetail": [{
/// "EndTime": 1110,
/// "KeyWord": "xxx",
/// "Label": "abuse",
/// "Rate": "90.00",
/// "StartTime": 1110
/// }, {
/// "EndTime": 1380,
/// "KeyWord": "xxx",
/// "Label": "abuse",
/// "Rate": "90.00",
/// "StartTime": 930
/// }, {
/// "EndTime": 1560,
/// "KeyWord": "xxx",
/// "Label": "abuse",
/// "Rate": "90.00",
/// "StartTime": 930
/// }, {
/// "EndTime": 2820,
/// "KeyWord": "xxx",
/// "Label": "abuse",
/// "Rate": "90.00",
/// "StartTime": 2490
/// }]
/// }],
/// "ScanStartTime": 1566720905,
/// "Scenes": [
/// "default"
/// ],
/// "Status": "Success",
/// "TaskId": "xxx",
/// "Url": "https://xxx/xxx.m4a"
/// }
///
/// 提交语音检测任务时,需要指定 Scenes 场景参数,目前要求您设置 Scenes 参数值为:["default"];而在检测结果中,则包含请求时指定的场景,以及对应类型的检测结果。
///| 场景 | ///描述 | ///Label | ///
|---|---|---|
| 语音检测 | ///语音检测的检测类型 | ///
/// normal:正常文本 ///porn:色情 ///politics:涉政 ///abuse:谩骂 ///ad :广告 ///terrorism:暴恐 ///contraband :违禁 ///customized:自定义词库。目前白名单开放,如有需要请联系我们。 /// |
///
| 名称 | ///类型 | ///是否必需 | ///描述 | ///
|---|---|---|---|
| Signatue | ///string | ///是 | ///签名,具体见签名生成说明 | ///
{
/// "Code": 0,
/// "DataId": "1400000000_test_data_id",
/// "ScanFinishTime": 1566720906,
/// "HitFlag": true,
/// "Live": false,
/// "Msg": "",
/// "ScanPiece": [{
/// "DumpUrl": "",
/// "HitFlag": true,
/// "MainType": "abuse",
/// "RoomId": "123",
/// "OpenId": "xxx",
/// "Info":"",
/// "Offset": 0,
/// "Duration": 3400,
/// "PieceStartTime":1574684231,
/// "ScanDetail": [{
/// "EndTime": 1110,
/// "KeyWord": "xxx",
/// "Label": "abuse",
/// "Rate": "90.00",
/// "StartTime": 1110
/// }, {
/// "EndTime": 1380,
/// "KeyWord": "xxx",
/// "Label": "abuse",
/// "Rate": "90.00",
/// "StartTime": 930
/// }, {
/// "EndTime": 1560,
/// "KeyWord": "xxx",
/// "Label": "abuse",
/// "Rate": "90.00",
/// "StartTime": 930
/// }, {
/// "EndTime": 2820,
/// "KeyWord": "xxx",
/// "Label": "abuse",
/// "Rate": "90.00",
/// "StartTime": 2490
/// }]
/// }],
/// "ScanStartTime": 1566720905,
/// "Scenes": [
/// "default"
/// ],
/// "Status": "Success",
/// "TaskId": "xxx",
/// "Url": "https://xxx/xxx.m4a"
/// }
///
///