|
@@ -238,6 +238,7 @@ Page({
|
|
|
let lessonText = JSON.parse(this.data.videoInfo.userReadExtend.lessonText).map((item) => {
|
|
|
return item.text
|
|
|
}).join('\n')
|
|
|
+ // https://www.chivox.com/opendoc/#/ChineseDoc/coreCn/Chinese/cn.sent.raw?id=%e5%8f%82%e6%95%b0%e8%af%b4%e6%98%8e <----参数说明
|
|
|
wsEngine.start({
|
|
|
request: {
|
|
|
coreType: "cn.pred.raw",
|
|
@@ -246,7 +247,7 @@ Page({
|
|
|
attachAudioUrl: 1,
|
|
|
result: {
|
|
|
details: {
|
|
|
- gop_adjust: 1
|
|
|
+ gop_adjust: -0.8
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -316,7 +317,7 @@ Page({
|
|
|
const result = res.result;
|
|
|
const integrity = Math.floor(result.integrity); //完成度
|
|
|
const tone = Math.floor(result.tone); // 语调声调
|
|
|
- const accuracy = Math.floor(result.overall); // 准确度 发音分
|
|
|
+ const accuracy = Math.floor(result.accuracy); // 准确度 发音分
|
|
|
const fluency = Math.floor(result.fluency.overall); //流利度
|
|
|
let myOverall = Math.floor(integrity * 0.3 + accuracy * 0.5 + fluency * 0.1 + tone * 0.1);
|
|
|
let detail = {
|
|
@@ -362,7 +363,7 @@ Page({
|
|
|
audioPath
|
|
|
})
|
|
|
let _data = this.data.readDetail
|
|
|
- console.log('挑战分数-----:', {
|
|
|
+ console.log('挑战分数-----', {
|
|
|
"userReadId": uploadRes.id,
|
|
|
"complete": _data.integrity,
|
|
|
"accuracy": _data.accuracy,
|