Catherine.Brain.William

Updated 教学效果提升 (markdown)

... ... @@ -133,4 +133,96 @@
```
数据返回的时候,查看字段“script_segments”,然后根据这个数组来逐步显示数据
###### 提示:页面查看(本地服务器:Dialog-(寒假特辑-场景对话)-假期嗨翻天)
\ No newline at end of file
###### 提示:页面查看(本地服务器:Dialog-(寒假特辑-场景对话)-假期嗨翻天)
### 长对话模版
```
{
checksum: "6d99624b522a2ca80dbb4248199f43f0",
code: "1407acf80603ecc9bd80d248947a36c6",
type: 0,
audio: "887b735ba6e6d849f13f6c1bdbb72578",
text: "W: What a nice Christmas time we are having!
M: I agree. The houses look so beautiful.
W: Do you have a Christmas tree this year?
M: Yes, we have a big tree this year. Do you want to come and see it?
W: Sorry, I can't. I have to buy a present for my mother.
M: Oh, what a pity!",
new_text: "W: What a nice Christmas time we are having!
M: I agree. The houses look so beautiful.
W: Do you have a Christmas tree this year?
M: Yes, we have a big tree this year. Do you want to come and see it?
W: Sorry, I can't. I have to buy a present for my mother.
M: Oh, what a pity!",
texts: [
"W: What a nice Christmas time we are having!
M: I agree. The houses look so beautiful.",
"W: Do you have a Christmas tree this year?
M: Yes, we have a big tree this year. Do you want to come and see it?",
"W: Sorry, I can't. I have to buy a present for my mother.
M: Oh, what a pity!"
],
scenes: [
{
scripts: [
{
actor: "W",
script: "What a nice Christmas time we are having!"
},
{
actor: "M",
script: "I agree. The houses look so beautiful."
}
]
},
{
scripts: [
{
actor: "W",
script: "Do you have a Christmas tree this year?"
},
{
actor: "M",
script: "Yes, we have a big tree this year. Do you want to come and see it?"
}
]
},
{
scripts: [
{
actor: "W",
script: "Sorry, I can't. I have to buy a present for my mother."
},
{
actor: "M",
script: "Oh, what a pity!"
}
]
}
],
loop: -1,
subtype: 9,
info: {
article: "f22843b6f1372481989f53e2b1b2ed3f",
level: 2,
speed: 0,
number_of_words: 62
},
list: [
{
id: "YYSPYXSZYLCD004",
question: "What season is it now?",
right: [
"Winter."
],
wrong: [
"Spring.",
"Autumn."
],
type: "multiple_choice"
}
],
type_string: "group_test_item_audio"
},
```
长对话模版的数据结构和视频带测试的数据结构很类似,所以,这里根据是否有scenes和actors字段来判断当前是否是长对话模版
\ No newline at end of file
... ...