Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Catherine.Brain.William
2016-05-28 10:08:46 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
04224e128e046804488d3174f593413b7d504e31
04224e12
1 parent
92fb77b7
Updated 教学效果提升 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
93 additions
and
1 deletions
教学效果提升.md
教学效果提升.md
View file @
04224e1
...
...
@@ -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
...
...
Please
register
or
login
to post a comment