Showing
1 changed file
with
93 additions
and
1 deletions
@@ -133,4 +133,96 @@ | @@ -133,4 +133,96 @@ | ||
133 | ``` | 133 | ``` |
134 | 数据返回的时候,查看字段“script_segments”,然后根据这个数组来逐步显示数据 | 134 | 数据返回的时候,查看字段“script_segments”,然后根据这个数组来逐步显示数据 |
135 | 135 | ||
136 | -###### 提示:页面查看(本地服务器:Dialog-(寒假特辑-场景对话)-假期嗨翻天) | 136 | +###### 提示:页面查看(本地服务器:Dialog-(寒假特辑-场景对话)-假期嗨翻天) |
137 | + | ||
138 | +### 长对话模版 | ||
139 | +``` | ||
140 | +{ | ||
141 | +checksum: "6d99624b522a2ca80dbb4248199f43f0", | ||
142 | +code: "1407acf80603ecc9bd80d248947a36c6", | ||
143 | +type: 0, | ||
144 | +audio: "887b735ba6e6d849f13f6c1bdbb72578", | ||
145 | +text: "W: What a nice Christmas time we are having! | ||
146 | +M: I agree. The houses look so beautiful. | ||
147 | +W: Do you have a Christmas tree this year? | ||
148 | +M: Yes, we have a big tree this year. Do you want to come and see it? | ||
149 | +W: Sorry, I can't. I have to buy a present for my mother. | ||
150 | +M: Oh, what a pity!", | ||
151 | +new_text: "W: What a nice Christmas time we are having! | ||
152 | +M: I agree. The houses look so beautiful. | ||
153 | +W: Do you have a Christmas tree this year? | ||
154 | +M: Yes, we have a big tree this year. Do you want to come and see it? | ||
155 | +W: Sorry, I can't. I have to buy a present for my mother. | ||
156 | +M: Oh, what a pity!", | ||
157 | +texts: [ | ||
158 | +"W: What a nice Christmas time we are having! | ||
159 | +M: I agree. The houses look so beautiful.", | ||
160 | +"W: Do you have a Christmas tree this year? | ||
161 | +M: Yes, we have a big tree this year. Do you want to come and see it?", | ||
162 | +"W: Sorry, I can't. I have to buy a present for my mother. | ||
163 | +M: Oh, what a pity!" | ||
164 | +], | ||
165 | +scenes: [ | ||
166 | +{ | ||
167 | +scripts: [ | ||
168 | +{ | ||
169 | +actor: "W", | ||
170 | +script: "What a nice Christmas time we are having!" | ||
171 | +}, | ||
172 | +{ | ||
173 | +actor: "M", | ||
174 | +script: "I agree. The houses look so beautiful." | ||
175 | +} | ||
176 | +] | ||
177 | +}, | ||
178 | +{ | ||
179 | +scripts: [ | ||
180 | +{ | ||
181 | +actor: "W", | ||
182 | +script: "Do you have a Christmas tree this year?" | ||
183 | +}, | ||
184 | +{ | ||
185 | +actor: "M", | ||
186 | +script: "Yes, we have a big tree this year. Do you want to come and see it?" | ||
187 | +} | ||
188 | +] | ||
189 | +}, | ||
190 | +{ | ||
191 | +scripts: [ | ||
192 | +{ | ||
193 | +actor: "W", | ||
194 | +script: "Sorry, I can't. I have to buy a present for my mother." | ||
195 | +}, | ||
196 | +{ | ||
197 | +actor: "M", | ||
198 | +script: "Oh, what a pity!" | ||
199 | +} | ||
200 | +] | ||
201 | +} | ||
202 | +], | ||
203 | +loop: -1, | ||
204 | +subtype: 9, | ||
205 | +info: { | ||
206 | +article: "f22843b6f1372481989f53e2b1b2ed3f", | ||
207 | +level: 2, | ||
208 | +speed: 0, | ||
209 | +number_of_words: 62 | ||
210 | +}, | ||
211 | +list: [ | ||
212 | +{ | ||
213 | +id: "YYSPYXSZYLCD004", | ||
214 | +question: "What season is it now?", | ||
215 | +right: [ | ||
216 | +"Winter." | ||
217 | +], | ||
218 | +wrong: [ | ||
219 | +"Spring.", | ||
220 | +"Autumn." | ||
221 | +], | ||
222 | +type: "multiple_choice" | ||
223 | +} | ||
224 | +], | ||
225 | +type_string: "group_test_item_audio" | ||
226 | +}, | ||
227 | +``` | ||
228 | +长对话模版的数据结构和视频带测试的数据结构很类似,所以,这里根据是否有scenes和actors字段来判断当前是否是长对话模版 |
-
Please register or login to post a comment