单词评测模式

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

我的收藏

评测模式描述

评测要求:支持汉字。音频时长最长60秒。
评测维度:支持返回单词精准度,流利度;支持返回音素精准度。
评测功能:支持指定发音。

请求参数

主要评测参数说明:
参数名称
类型
描述
RefText
String
被评估文本。支持汉字。
EvalMode
Integer
评估模式。0:单词评测模式
ServerType
Integer
评估语言。1:中文
请求示例
{
"RefText": "我",
"EvalMode": 0,
"ServerType":1,
"WorkMode":1,
"UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*",
"SeqId":1,
"IsEnd":1,
"VoiceFileType":3,
"VoiceEncodeType":1,
"SessionId":"98236faa-6968-11ed-9f41-acde48001122",
"ScoreCoeff":1.0
}

返回结果

主要返回结果说明:
参数名称
类型
描述
SuggestedScore
Integer
建议评分
PronAccuracy
Integer
整体精准度
PronFluency
Integer
整体流利度
Words.PronAccuracy
Integer
单词精准度
Words.PronFluency
Integer
单词流利度
Words.PhoneInfos.PronAccuracy
Integer
音素精准度
返回示例
{
"PronAccuracy":91.93747,
"PronFluency":0.9512238,
"PronCompletion":1,
"Words":[
{
"MemBeginTime":2600,
"MemEndTime":3070,
"PronAccuracy":91.93747,
"PronFluency":0.9512238,
"Word":"我",
"MatchTag":0,
"PhoneInfos":[
{
"MemBeginTime":2600,
"MemEndTime":2790,
"PronAccuracy":80.79642,
"DetectedStress":false,
"Phone":"w",
"Stress":false,
"ReferencePhone":"",
"MatchTag":0,
"ReferenceLetter":""
},
{
"MemBeginTime":2790,
"MemEndTime":3070,
"PronAccuracy":97.50799,
"DetectedStress":false,
"Phone":"o3",
"Stress":false,
"ReferencePhone":"",
"MatchTag":0,
"ReferenceLetter":""
}
],
"ReferenceWord":"",
}
],
"SessionId":"98236faa-6968-11ed-9f41-acde48001122",
"Status":"Finished",
"SuggestedScore":91.93747,
"RequestId":"9bcd43ce-1708-4e07-a84a-3038c27cec65"
}

指定发音

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

请求参数

主要请求参数说明:
参数名称
类型
描述
RefText
String
被评估文本
EvalMode
Integer
评估模式。0:单词评测模式
ServerType
Integer
评估语言。1:中文
请求示例

{
"RefText": "我{::pron{wo1}}",
"EvalMode": 0,
"ServerType":1,
"WorkMode":1,
"UserVoiceData":"UklGRka1CQBXQVZFZm10IBAAAAABAAEAgD4E*",
"SeqId":1,
"IsEnd":1,
"VoiceFileType":3,
"VoiceEncodeType":1,
"SessionId":"ca0cb65e-694d-11ed-b467-acde48001122",
"ScoreCoeff":1.0
}

返回结果

主要返回结果说明:
参数名称
类型
描述
SuggestedScore
Integer
建议评分
PronAccuracy
Integer
整体精准度
PronFluency
Integer
整体流利度
Words.PronAccuracy
Integer
单词精准度
Words.PronFluency
Integer
单词流利度
Words.PhoneInfos.PronAccuracy
Integer
音素精准度
返回示例
{
"PronAccuracy": 12.2539215,
"PronFluency": 0.95122975,
"PronCompletion": 1,
"Words": [
{
"MemBeginTime": 40,
"MemEndTime": 510,
"PronAccuracy": 12.2539215,
"PronFluency": 0.95122975,
"Word": "我",
"MatchTag": 0,
"PhoneInfos": [
{
"MemBeginTime": 40,
"MemEndTime": 250,
"PronAccuracy": 26.018757,
"DetectedStress": false,
"Phone": "w",
"Stress": false,
"ReferencePhone": "",
"MatchTag": 0,
"ReferenceLetter": ""
},
{
"MemBeginTime": 250,
"MemEndTime": 510,
"PronAccuracy": 5.371504,
"DetectedStress": false,
"Phone": "o1",
"Stress": false,
"ReferencePhone": "",
"MatchTag": 0,
"ReferenceLetter": ""
}
],
"ReferenceWord": "",
"KeywordTag": 0,
"Tone": {
"Valid": false,
"RefTone": -1,
"HypothesisTone": -1
}
}
],
"SessionId": "6fd7c230-2c2c-11ee-9272-acde48001122",
"AudioUrl": "",
"SentenceInfoSet": [],
"Status": "Finished",
"SuggestedScore": 12.2539215,
"RefTextId": -1,
"KeyWordHits": [],
"UnKeyWordHits": [],
"RequestId": "5a2ed414-0c4c-4508-933a-6b7e29c61bdc"
}