/*
* 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.Soe.V20180724.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class PhoneInfo : AbstractModel
{
///
/// 当前音节语音起始时间点,单位为ms
///
[JsonProperty("MemBeginTime")]
public long? MemBeginTime{ get; set; }
///
/// 当前音节语音终止时间点,单位为ms
///
[JsonProperty("MemEndTime")]
public long? MemEndTime{ get; set; }
///
/// 音节发音准确度,取值范围[-1, 100],当取-1时指完全不匹配
///
[JsonProperty("PronAccuracy")]
public float? PronAccuracy{ get; set; }
///
/// 当前音节是否检测为重音
///
[JsonProperty("DetectedStress")]
public bool? DetectedStress{ get; set; }
///
/// 当前音节
///
[JsonProperty("Phone")]
public string Phone{ get; set; }
///
/// 当前音节是否应为重音
///
[JsonProperty("Stress")]
public bool? Stress{ get; set; }
///
/// 参考音素,在单词诊断模式下,代表标准音素
///
[JsonProperty("ReferencePhone")]
public string ReferencePhone{ get; set; }
///
/// 当前词与输入语句的匹配情况,0:匹配单词、1:新增单词、2:缺少单词、3:错读的词、4:未录入单词。
///
[JsonProperty("MatchTag")]
public long? MatchTag{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "MemBeginTime", this.MemBeginTime);
this.SetParamSimple(map, prefix + "MemEndTime", this.MemEndTime);
this.SetParamSimple(map, prefix + "PronAccuracy", this.PronAccuracy);
this.SetParamSimple(map, prefix + "DetectedStress", this.DetectedStress);
this.SetParamSimple(map, prefix + "Phone", this.Phone);
this.SetParamSimple(map, prefix + "Stress", this.Stress);
this.SetParamSimple(map, prefix + "ReferencePhone", this.ReferencePhone);
this.SetParamSimple(map, prefix + "MatchTag", this.MatchTag);
}
}
}