68 lines
2.7 KiB
C#
68 lines
2.7 KiB
C#
|
|
/*
|
|||
|
|
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|||
|
|
*
|
|||
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|||
|
|
* you may not use this file except in compliance with the License.
|
|||
|
|
* You may obtain a copy of the License at
|
|||
|
|
*
|
|||
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|||
|
|
*
|
|||
|
|
* Unless required by applicable law or agreed to in writing,
|
|||
|
|
* software distributed under the License is distributed on an
|
|||
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|||
|
|
* KIND, either express or implied. See the License for the
|
|||
|
|
* specific language governing permissions and limitations
|
|||
|
|
* under the License.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
namespace TencentCloud.Vod.V20180717.Models
|
|||
|
|
{
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using TencentCloud.Common;
|
|||
|
|
|
|||
|
|
public class UserDefineAsrTextReviewTemplateInfo : AbstractModel
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 用户自定语音审核任务开关,可选值:
|
|||
|
|
/// <li>ON:开启自定义语音审核任务;</li>
|
|||
|
|
/// <li>OFF:关闭自定义语音审核任务。</li>
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Switch")]
|
|||
|
|
public string Switch{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 用户自定义语音过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回。如果要使用标签过滤功能,添加自定义语音关键词素材时需要添加对应标签。
|
|||
|
|
/// 标签个数最多 10 个,每个标签长度最多 16 个字符。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("LabelSet")]
|
|||
|
|
public string[] LabelSet{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("BlockConfidence")]
|
|||
|
|
public long? BlockConfidence{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ReviewConfidence")]
|
|||
|
|
public long? ReviewConfidence{ get; set; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// For internal usage only. DO NOT USE IT.
|
|||
|
|
/// </summary>
|
|||
|
|
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
|||
|
|
{
|
|||
|
|
this.SetParamSimple(map, prefix + "Switch", this.Switch);
|
|||
|
|
this.SetParamArraySimple(map, prefix + "LabelSet.", this.LabelSet);
|
|||
|
|
this.SetParamSimple(map, prefix + "BlockConfidence", this.BlockConfidence);
|
|||
|
|
this.SetParamSimple(map, prefix + "ReviewConfidence", this.ReviewConfidence);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|