段落评测模式

最近更新时间:2024-05-30 17:12:13

我的收藏

评估模式描述

评测要求:支持不超过120个汉字,300秒音频时长。
评测维度:支持返回单词精准度,流利度,完整度。
评测功能:支持实时评测,多组文本,主题词和关键词,指定发音。

请求参数

主要请求参数说明:
参数名称
类型
描述
RefText
String
被评估文本。不超过120个汉字
EvalMode
Integer
评估模式。2:段落评测模式
ServerType
Integer
评估语言。1:中文
请求示例
{
"RefText": "君不见黄河之水天上来,奔流到海不复回。君不见高堂明镜悲白发,朝如青丝暮成雪。人生得意须尽欢,莫使金樽空对月。天生我材必有用,千金散尽还复来。",
"EvalMode": 2,
"ServerType": 1
"WorkMode":1,
"UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*",
"SeqId":1,
"IsEnd":1,
"VoiceFileType":3,
"VoiceEncodeType":1,
"SessionId":"5588e1da-63f9-11ed-9ce2-acde48001122",
"ScoreCoeff":1.0
}

返回结果

主要返回结果说明:
参数名称
类型
描述
SuggestedScore
Integer
建议评分
PronAccuracy
Integer
整体精准度
PronFluency
Integer
整体流利度
PronCompletion
Integer
整体完整度
Words.PronAccuracy
Integer
单词精准度
Words.PronFluency
Integer
单词流利度
Words.MatchTag
Integer
当前词的音频与文本的匹配情况
请求示例

{
"PronAccuracy":79.46394,
"PronFluency":0.96788603,
"PronCompletion":0.8064516,
"Words":[
{
"MemBeginTime":1330,
"MemEndTime":1810,
"PronAccuracy":93.51926,
"PronFluency":0.9502656,
"Word":"君",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":1830,
"MemEndTime":2210,
"PronAccuracy":57.247417,
"PronFluency":0.9322729,
"Word":"不",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":2210,
"MemEndTime":2780,
"PronAccuracy":93.54713,
"PronFluency":0.9445577,
"Word":"见",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":2780,
"MemEndTime":3330,
"PronAccuracy":97.28049,
"PronFluency":0.96531796,
"Word":"黄",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":3330,
"MemEndTime":3730,
"PronAccuracy":97.271904,
"PronFluency":0.9469911,
"Word":"河",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":3730,
"MemEndTime":4010,
"PronAccuracy":96.83094,
"PronFluency":0.9563303,
"Word":"之",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":4010,
"MemEndTime":4490,
"PronAccuracy":98.03019,
"PronFluency":0.97213316,
"Word":"水",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":4550,
"MemEndTime":4890,
"PronAccuracy":98.01057,
"PronFluency":0.9864521,
"Word":"天",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":4890,
"MemEndTime":5210,
"PronAccuracy":98.87561,
"PronFluency":0.9813306,
"Word":"上",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":5210,
"MemEndTime":5610,
"PronAccuracy":98.0617,
"PronFluency":0.947675,
"Word":"来",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":6010,
"MemEndTime":6330,
"PronAccuracy":75.862,
"PronFluency":0.97582966,
"Word":"奔",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":6330,
"MemEndTime":6610,
"PronAccuracy":96.476166,
"PronFluency":0.99315804,
"Word":"流",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":6610,
"MemEndTime":6910,
"PronAccuracy":98.79114,
"PronFluency":0.97288656,
"Word":"到",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":6910,
"MemEndTime":7370,
"PronAccuracy":91.792274,
"PronFluency":0.9464178,
"Word":"海",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":7450,
"MemEndTime":7730,
"PronAccuracy":91.31023,
"PronFluency":0.96026874,
"Word":"不",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":7730,
"MemEndTime":8070,
"PronAccuracy":98.594795,
"PronFluency":0.9491575,
"Word":"复",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":8070,
"MemEndTime":8470,
"PronAccuracy":95.72612,
"PronFluency":0.9812511,
"Word":"回",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":8860,
"MemEndTime":9140,
"PronAccuracy":67.703964,
"PronFluency":0.9812386,
"Word":"君",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":9140,
"MemEndTime":9310,
"PronAccuracy":80.41823,
"PronFluency":0.98986757,
"Word":"不",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":9310,
"MemEndTime":9690,
"PronAccuracy":96.83778,
"PronFluency":0.9773178,
"Word":"见",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":9770,
"MemEndTime":10110,
"PronAccuracy":98.06411,
"PronFluency":0.97253066,
"Word":"高",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":10110,
"MemEndTime":10430,
"PronAccuracy":96.08603,
"PronFluency":0.9849139,
"Word":"堂",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":10430,
"MemEndTime":10650,
"PronAccuracy":92.77642,
"PronFluency":0.99451923,
"Word":"明",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":10650,
"MemEndTime":11150,
"PronAccuracy":95.78129,
"PronFluency":0.9458583,
"Word":"镜",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":11170,
"MemEndTime":11510,
"PronAccuracy":97.30926,
"PronFluency":0.97679806,
"Word":"悲",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":11510,
"MemEndTime":11790,
"PronAccuracy":81.186485,
"PronFluency":0.98105997,
"Word":"白",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":11790,
"MemEndTime":12230,
"PronAccuracy":95.159164,
"PronFluency":0.9410107,
"Word":"发",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":12690,
"MemEndTime":13040,
"PronAccuracy":94.852715,
"PronFluency":0.96907306,
"Word":"朝",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":13040,
"MemEndTime":13210,
"PronAccuracy":68.82349,
"PronFluency":0.9843749,
"Word":"如",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":13230,
"MemEndTime":13570,
"PronAccuracy":88.82808,
"PronFluency":0.98340774,
"Word":"青",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":13570,
"MemEndTime":14080,
"PronAccuracy":90.39614,
"PronFluency":0.93254924,
"Word":"丝",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":14100,
"MemEndTime":14290,
"PronAccuracy":8.275865,
"PronFluency":0.9825468,
"Word":"暮",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":14290,
"MemEndTime":14570,
"PronAccuracy":51.33515,
"PronFluency":0.99078196,
"Word":"成",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":14570,
"MemEndTime":14890,
"PronAccuracy":20.290615,
"PronFluency":0.97459394,
"Word":"雪",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":15430,
"MemEndTime":15670,
"PronAccuracy":13.241609,
"PronFluency":0.9897597,
"Word":"人",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":15670,
"MemEndTime":16010,
"PronAccuracy":83.60304,
"PronFluency":0.97709435,
"Word":"生",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":16030,
"MemEndTime":16250,
"PronAccuracy":21.122902,
"PronFluency":0.97038484,
"Word":"得",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":16250,
"MemEndTime":16510,
"PronAccuracy":28.532358,
"PronFluency":0.9575285,
"Word":"意",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":16530,
"MemEndTime":16910,
"PronAccuracy":31.436018,
"PronFluency":0.9447334,
"Word":"须",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":16930,
"MemEndTime":17240,
"PronAccuracy":15.999572,
"PronFluency":0.97345763,
"Word":"尽",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":17240,
"MemEndTime":17630,
"PronAccuracy":76.909,
"PronFluency":0.9809624,
"Word":"欢",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":17650,
"MemEndTime":21280,
"PronAccuracy":-1,
"PronFluency":-1,
"Word":"莫",
"MatchTag":3,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":21340,
"MemEndTime":21650,
"PronAccuracy":-1,
"PronFluency":-1,
"Word":"使",
"MatchTag":3,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":21650,
"MemEndTime":21890,
"PronAccuracy":-1,
"PronFluency":-1,
"Word":"金",
"MatchTag":3,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":-1,
"MemEndTime":-1,
"PronAccuracy":-1,
"PronFluency":-1,
"Word":"樽",
"MatchTag":2,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":-1,
"MemEndTime":-1,
"PronAccuracy":-1,
"PronFluency":-1,
"Word":"空",
"MatchTag":2,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":-1,
"MemEndTime":-1,
"PronAccuracy":-1,
"PronFluency":-1,
"Word":"对",
"MatchTag":2,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":-1,
"MemEndTime":-1,
"PronAccuracy":-1,
"PronFluency":-1,
"Word":"月",
"MatchTag":2,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":-1,
"MemEndTime":-1,
"PronAccuracy":-1,
"PronFluency":-1,
"Word":"天",
"MatchTag":2,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":-1,
"MemEndTime":-1,
"PronAccuracy":-1,
"PronFluency":-1,
"Word":"生",
"MatchTag":2,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":-1,
"MemEndTime":-1,
"PronAccuracy":-1,
"PronFluency":-1,
"Word":"我",
"MatchTag":2,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":-1,
"MemEndTime":-1,
"PronAccuracy":-1,
"PronFluency":-1,
"Word":"材",
"MatchTag":2,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":-1,
"MemEndTime":-1,
"PronAccuracy":-1,
"PronFluency":-1,
"Word":"必",
"MatchTag":2,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":21890,
"MemEndTime":22170,
"PronAccuracy":92.92656,
"PronFluency":0.9909997,
"Word":"有",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":22170,
"MemEndTime":22590,
"PronAccuracy":94.57896,
"PronFluency":0.9769188,
"Word":"用",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":22920,
"MemEndTime":23250,
"PronAccuracy":86.151566,
"PronFluency":0.9914025,
"Word":"千",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":23250,
"MemEndTime":23530,
"PronAccuracy":76.556206,
"PronFluency":0.9836274,
"Word":"金",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":23530,
"MemEndTime":24230,
"PronAccuracy":75.685715,
"PronFluency":0.92114115,
"Word":"散",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":24230,
"MemEndTime":24680,
"PronAccuracy":87.0992,
"PronFluency":0.95008373,
"Word":"尽",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":24680,
"MemEndTime":25150,
"PronAccuracy":91.98713,
"PronFluency":0.9721607,
"Word":"还",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":25150,
"MemEndTime":25530,
"PronAccuracy":97.66733,
"PronFluency":0.9351301,
"Word":"复",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":25530,
"MemEndTime":25930,
"PronAccuracy":98.34716,
"PronFluency":0.9541783,
"Word":"来",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
}
],
"SessionId":"5588e1da-63f9-11ed-9ce2-acde48001122",
"SentenceInfoSet":[],
"PronAccuracy":79.46394,
"PronFluency":0.96788603,
"PronCompletion":0.8064516,
"SuggestedScore":0,
}
],
"Status":"Finished",
"SuggestedScore":76.4871426832186,
"RequestId":"9d5576bb-16f9-4681-8049-69a2af0390a4"
}

实时评测

主要作用是获取实时中间结果,实时展示评测内容。评测结果以最终结果为准。实现方式可参考 语音输入模式 -- 流式评测

请求参数

主要请求参数说明:
参数名称
类型
描述
RefText
String
被评估文本。不超过120个汉字
EvalMode
Integer
评估模式。2:段落评测模式
ServerType
Integer
评估语言。1:中文
WorkMode
Integer
语音输入模式。0:流式分片
SentenceInfoEnabled
Integer
出断句中间结果标识。1:输出
请求示例
{
"RefText": "君不见黄河之水天上来,奔流到海不复回。君不见高堂明镜悲白发,朝如青丝暮成雪。人生得意须尽欢,莫使金樽空对月。天生我材必有用,千金散尽还复来。",
"EvalMode": 2,
"ServerType": 1
"WorkMode": 0,
"SentenceInfoEnabled": 1,
"UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*",
"SeqId":1,
"IsEnd":1,
"VoiceFileType":3,
"VoiceEncodeType":1,
"SessionId":"3c1df34a-696f-11ed-b4b7-acde48001122",
"ScoreCoeff":1.0
}

返回结果

主要返回结果说明:
参数名称
类型
描述
SentenceInfoSet.Words.PronAccuracy
Integer
单词精准度
SentenceInfoSet.Words.PronFluency
Integer
单词流利度
SentenceInfoSet.Words.MatchTag
Integer
当前词的音频与文本的匹配情况
返回示例
{
"PronAccuracy":-1,
"PronFluency":-1,
"PronCompletion":0,
"Words":Array[4],
"SessionId":"3c1df34a-696f-11ed-b4b7-acde48001122",
"AudioUrl":"",
"SentenceInfoSet":[
{
"SentenceId":0,
"Words":[
{
"MemBeginTime":1040,
"MemEndTime":1330,
"PronAccuracy":78.74817,
"PronFluency":0.9808751,
"Word":"君",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":1330,
"MemEndTime":1510,
"PronAccuracy":81.81139,
"PronFluency":0.98826456,
"Word":"不",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":1510,
"MemEndTime":1850,
"PronAccuracy":97.83383,
"PronFluency":0.9844603,
"Word":"见",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
},
{
"MemBeginTime":1850,
"MemEndTime":2250,
"PronAccuracy":98.80923,
"PronFluency":0.9850791,
"Word":"黄",
"MatchTag":0,
"PhoneInfos":[

],
"ReferenceWord":"",
"KeywordTag":0
}
],
"PronAccuracy":-1,
"PronFluency":-1,
"PronCompletion":0,
"SuggestedScore":0,
"RefTextId":-1,
"KeyWordHits":[

],
"UnKeyWordHits":[

]
}
],
"Status":"Evaluating",
"SuggestedScore":0,
"RefTextId":-1,
"KeyWordHits":[

],
"UnKeyWordHits":[

],
"RequestId":"dd3cc36e-3b62-4d06-b3f0-6e30646a216b"
}

主题词和关键词

使用|划分多组文本,每组不超过120个单词。当预设多组文本,没有实时结果。

请求参数

主要请求参数说明:
参数名称
类型
描述
RefText
String
被评估文本。可以使用 | 划分成多个分支
Keyword
Sting
主题词和关键词。使用|划分不同主题词
EvalMode
Integer
评估模式。2:段落评测模式
ServerType
Integer
评估语言。1:中文
请求示例
{
"RefText": "油画 | 山水画作",
"Keyword": "油 | 山水画 | 绘画",
"EvalMode": 2,
"ServerType": 1
"WorkMode":1,
"UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*",
"SeqId":1,
"IsEnd":1,
"VoiceFileType":3,
"VoiceEncodeType":1,
"SessionId":"4f891e32-a82b-11ed-acdb-acde48001122",
"ScoreCoeff":1.0
}

返回结果

主要返回结果如下:
参数名称
类型
描述
PronAccuracy
Integer
精准度
PronCompletion
Integer
切题度
Words.KeywordTag
Integer
主题词命中标志
RefTextId
Integer
匹配候选文本的序号
KeyWordHits
Array of Float
主题词命中标志
UnKeyWordHits
Array of Float
负向主题词命中标志
返回示例
{
"PronAccuracy": 96.85433,
"PronFluency": 0.96186596,
"PronCompletion": 0.75,
"Words": [
{
"MemBeginTime": 950,
"MemEndTime": 1430,
"PronAccuracy": 94.6898,
"PronFluency": 0.95479125,
"Word": "山",
"MatchTag": 0,
"PhoneInfos": [],
"ReferenceWord": "",
"KeywordTag": 1,
"Tone": {
"Valid": false,
"RefTone": -1,
"HypothesisTone": -1
}
},
{
"MemBeginTime": 1430,
"MemEndTime": 1830,
"PronAccuracy": 97.93999,
"PronFluency": 0.9815328,
"Word": "水",
"MatchTag": 0,
"PhoneInfos": [],
"ReferenceWord": "",
"KeywordTag": 1,
"Tone": {
"Valid": false,
"RefTone": -1,
"HypothesisTone": -1
}
},
{
"MemBeginTime": 1830,
"MemEndTime": 2390,
"PronAccuracy": 97.93319,
"PronFluency": 0.9492738,
"Word": "画",
"MatchTag": 0,
"PhoneInfos": [],
"ReferenceWord": "",
"KeywordTag": 1,
"Tone": {
"Valid": false,
"RefTone": -1,
"HypothesisTone": -1
}
},
{
"MemBeginTime": -1,
"MemEndTime": -1,
"PronAccuracy": -1,
"PronFluency": -1,
"Word": "作",
"MatchTag": 2,
"PhoneInfos": [],
"ReferenceWord": "",
"KeywordTag": 0,
"Tone": {
"Valid": false,
"RefTone": -1,
"HypothesisTone": -1
}
}
],
"SessionId": "2bd66670-2c47-11ee-88db-acde48001122",
"AudioUrl": "",
"SentenceInfoSet": [],
"Status": "Finished",
"SuggestedScore": 90.800934375,
"RefTextId": 1,
"KeyWordHits": [
0,
1,
0
],
"UnKeyWordHits": [],
"RequestId": "31a5ec1b-50ee-4323-bf6e-a16992e4156a"
}


指定发音

使用 汉字{::pron{p1,p2..},{p3,p4..}..} 指定发音,发音单元为 拼音

请求参数

主要请求参数说明:
参数名称
类型
描述
RefText
String
被评估文本
EvalMode
Integer
评估模式。2:段落评测模式
ServerType
Integer
评估语言。1:中文
请求示例
{
"RefText": "清平乐{::pron{yue4}}",
"EvalMode": 2,
"ServerType":1,
"WorkMode":1,
"UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*",
"SeqId":1,
"IsEnd":1,
"VoiceFileType":3,
"VoiceEncodeType":1,
"SessionId":"144e-1669015382042-66392",
"ScoreCoeff":1.0
}

返回结果

主要返回结果说明:
参数名称
类型
描述
SuggestedScore
Integer
建议评分
PronAccuracy
Integer
整体精准度
PronFluency
Integer
整体流利度
Words.PronAccuracy
Integer
单词精准度
Words.PronFluency
Integer
单词流利度
返回示例
{
"PronAccuracy": 97.41477,
"PronFluency": 0.9806597,
"PronCompletion": 1,
"Words": [
{
"MemBeginTime": 510,
"MemEndTime": 890,
"PronAccuracy": 96.52874,
"PronFluency": 0.97874004,
"Word": "清",
"MatchTag": 0,
"PhoneInfos": [],
"ReferenceWord": "",
"KeywordTag": 0,
"Tone": {
"Valid": false,
"RefTone": -1,
"HypothesisTone": -1
}
},
{
"MemBeginTime": 890,
"MemEndTime": 1180,
"PronAccuracy": 97.24883,
"PronFluency": 0.9894137,
"Word": "平",
"MatchTag": 0,
"PhoneInfos": [],
"ReferenceWord": "",
"KeywordTag": 0,
"Tone": {
"Valid": false,
"RefTone": -1,
"HypothesisTone": -1
}
},
{
"MemBeginTime": 1180,
"MemEndTime": 1550,
"PronAccuracy": 98.46676,
"PronFluency": 0.9738254,
"Word": "乐",
"MatchTag": 0,
"PhoneInfos": [],
"ReferenceWord": "",
"KeywordTag": 0,
"Tone": {
"Valid": false,
"RefTone": -1,
"HypothesisTone": -1
}
}
],
"SessionId": "5c99d89e-2c30-11ee-8d8a-acde48001122",
"AudioUrl": "",
"SentenceInfoSet": [],
"Status": "Finished",
"SuggestedScore": 97.41477,
"RefTextId": 0,
"KeyWordHits": [],
"UnKeyWordHits": [],
"RequestId": "a350a404-7bec-4835-b621-0515a492e68e"
}