Skip to content

Commit addd515

Browse files
committed
由言念发起的QUALITYCHECK SDK自动发布, BUILD_ID=303, 版本号:2.7.0
发布日志: 1, add new interface
1 parent 4f1f065 commit addd515

File tree

4 files changed

+271
-2
lines changed

4 files changed

+271
-2
lines changed

aliyun-java-sdk-qualitycheck/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2018-02-12 Version: 2.7.0
2+
1, add new interface
3+
14
2018-02-06 Version: 2.6.9
25
1, add new interface
36

aliyun-java-sdk-qualitycheck/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-qualitycheck</artifactId>
55
<packaging>jar</packaging>
6-
<version>2.6.9</version>
6+
<version>2.7.0</version>
77
<name>aliyun-java-sdk-qualitycheck</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-qualitycheck/src/main/java/com/aliyuncs/qualitycheck/model/v20160801/GetAudioDataStatusResponse.java

Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,20 @@ public static class AsrResult {
149149

150150
private String errorMessage;
151151

152+
private Long duration;
153+
154+
private Integer interactiveCount;
155+
152156
private List<SentenceResult> sentenceResults;
153157

158+
private ServiceEvStat serviceEvStat;
159+
160+
private ClientEvStat clientEvStat;
161+
162+
private ServiceSrStat serviceSrStat;
163+
164+
private ClientSrStat clientSrStat;
165+
154166
public String getAsrstatus() {
155167
return this.asrstatus;
156168
}
@@ -175,6 +187,22 @@ public void setErrorMessage(String errorMessage) {
175187
this.errorMessage = errorMessage;
176188
}
177189

190+
public Long getDuration() {
191+
return this.duration;
192+
}
193+
194+
public void setDuration(Long duration) {
195+
this.duration = duration;
196+
}
197+
198+
public Integer getInteractiveCount() {
199+
return this.interactiveCount;
200+
}
201+
202+
public void setInteractiveCount(Integer interactiveCount) {
203+
this.interactiveCount = interactiveCount;
204+
}
205+
178206
public List<SentenceResult> getSentenceResults() {
179207
return this.sentenceResults;
180208
}
@@ -183,6 +211,38 @@ public void setSentenceResults(List<SentenceResult> sentenceResults) {
183211
this.sentenceResults = sentenceResults;
184212
}
185213

214+
public ServiceEvStat getServiceEvStat() {
215+
return this.serviceEvStat;
216+
}
217+
218+
public void setServiceEvStat(ServiceEvStat serviceEvStat) {
219+
this.serviceEvStat = serviceEvStat;
220+
}
221+
222+
public ClientEvStat getClientEvStat() {
223+
return this.clientEvStat;
224+
}
225+
226+
public void setClientEvStat(ClientEvStat clientEvStat) {
227+
this.clientEvStat = clientEvStat;
228+
}
229+
230+
public ServiceSrStat getServiceSrStat() {
231+
return this.serviceSrStat;
232+
}
233+
234+
public void setServiceSrStat(ServiceSrStat serviceSrStat) {
235+
this.serviceSrStat = serviceSrStat;
236+
}
237+
238+
public ClientSrStat getClientSrStat() {
239+
return this.clientSrStat;
240+
}
241+
242+
public void setClientSrStat(ClientSrStat clientSrStat) {
243+
this.clientSrStat = clientSrStat;
244+
}
245+
186246
public static class SentenceResult {
187247

188248
private Integer beginTime;
@@ -285,6 +345,178 @@ public void setChannelKey(String channelKey) {
285345
this.channelKey = channelKey;
286346
}
287347
}
348+
349+
public static class ServiceEvStat {
350+
351+
private Integer srole;
352+
353+
private Float smaxEmotionValue;
354+
355+
private Float sminEmotionValue;
356+
357+
private Float savgEmotionValue;
358+
359+
public Integer getSrole() {
360+
return this.srole;
361+
}
362+
363+
public void setSrole(Integer srole) {
364+
this.srole = srole;
365+
}
366+
367+
public Float getSmaxEmotionValue() {
368+
return this.smaxEmotionValue;
369+
}
370+
371+
public void setSmaxEmotionValue(Float smaxEmotionValue) {
372+
this.smaxEmotionValue = smaxEmotionValue;
373+
}
374+
375+
public Float getSminEmotionValue() {
376+
return this.sminEmotionValue;
377+
}
378+
379+
public void setSminEmotionValue(Float sminEmotionValue) {
380+
this.sminEmotionValue = sminEmotionValue;
381+
}
382+
383+
public Float getSavgEmotionValue() {
384+
return this.savgEmotionValue;
385+
}
386+
387+
public void setSavgEmotionValue(Float savgEmotionValue) {
388+
this.savgEmotionValue = savgEmotionValue;
389+
}
390+
}
391+
392+
public static class ClientEvStat {
393+
394+
private Integer crole;
395+
396+
private Float cmaxEmotionValue;
397+
398+
private Float cminEmotionValue;
399+
400+
private Float cavgEmotionValue;
401+
402+
public Integer getCrole() {
403+
return this.crole;
404+
}
405+
406+
public void setCrole(Integer crole) {
407+
this.crole = crole;
408+
}
409+
410+
public Float getCmaxEmotionValue() {
411+
return this.cmaxEmotionValue;
412+
}
413+
414+
public void setCmaxEmotionValue(Float cmaxEmotionValue) {
415+
this.cmaxEmotionValue = cmaxEmotionValue;
416+
}
417+
418+
public Float getCminEmotionValue() {
419+
return this.cminEmotionValue;
420+
}
421+
422+
public void setCminEmotionValue(Float cminEmotionValue) {
423+
this.cminEmotionValue = cminEmotionValue;
424+
}
425+
426+
public Float getCavgEmotionValue() {
427+
return this.cavgEmotionValue;
428+
}
429+
430+
public void setCavgEmotionValue(Float cavgEmotionValue) {
431+
this.cavgEmotionValue = cavgEmotionValue;
432+
}
433+
}
434+
435+
public static class ServiceSrStat {
436+
437+
private Integer srole;
438+
439+
private Float smaxSpeechRate;
440+
441+
private Float sminSpeechRate;
442+
443+
private Float savgSpeechRate;
444+
445+
public Integer getSrole() {
446+
return this.srole;
447+
}
448+
449+
public void setSrole(Integer srole) {
450+
this.srole = srole;
451+
}
452+
453+
public Float getSmaxSpeechRate() {
454+
return this.smaxSpeechRate;
455+
}
456+
457+
public void setSmaxSpeechRate(Float smaxSpeechRate) {
458+
this.smaxSpeechRate = smaxSpeechRate;
459+
}
460+
461+
public Float getSminSpeechRate() {
462+
return this.sminSpeechRate;
463+
}
464+
465+
public void setSminSpeechRate(Float sminSpeechRate) {
466+
this.sminSpeechRate = sminSpeechRate;
467+
}
468+
469+
public Float getSavgSpeechRate() {
470+
return this.savgSpeechRate;
471+
}
472+
473+
public void setSavgSpeechRate(Float savgSpeechRate) {
474+
this.savgSpeechRate = savgSpeechRate;
475+
}
476+
}
477+
478+
public static class ClientSrStat {
479+
480+
private Integer crole;
481+
482+
private Float cmaxSpeechRate;
483+
484+
private Float cminSpeechRate;
485+
486+
private Float cavgSpeechRate;
487+
488+
public Integer getCrole() {
489+
return this.crole;
490+
}
491+
492+
public void setCrole(Integer crole) {
493+
this.crole = crole;
494+
}
495+
496+
public Float getCmaxSpeechRate() {
497+
return this.cmaxSpeechRate;
498+
}
499+
500+
public void setCmaxSpeechRate(Float cmaxSpeechRate) {
501+
this.cmaxSpeechRate = cmaxSpeechRate;
502+
}
503+
504+
public Float getCminSpeechRate() {
505+
return this.cminSpeechRate;
506+
}
507+
508+
public void setCminSpeechRate(Float cminSpeechRate) {
509+
this.cminSpeechRate = cminSpeechRate;
510+
}
511+
512+
public Float getCavgSpeechRate() {
513+
return this.cavgSpeechRate;
514+
}
515+
516+
public void setCavgSpeechRate(Float cavgSpeechRate) {
517+
this.cavgSpeechRate = cavgSpeechRate;
518+
}
519+
}
288520
}
289521
}
290522

aliyun-java-sdk-qualitycheck/src/main/java/com/aliyuncs/qualitycheck/transform/v20160801/GetAudioDataStatusResponseUnmarshaller.java

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@
2424
import com.aliyuncs.qualitycheck.model.v20160801.GetAudioDataStatusResponse;
2525
import com.aliyuncs.qualitycheck.model.v20160801.GetAudioDataStatusResponse.TaskAsrResult;
2626
import com.aliyuncs.qualitycheck.model.v20160801.GetAudioDataStatusResponse.TaskAsrResult.AsrResult;
27-
import com.aliyuncs.qualitycheck.model.v20160801.GetAudioDataStatusResponse.TaskAsrResult.AsrResult.SentenceResult;
27+
import com.aliyuncs.qualitycheck.model.v20160801.GetAudioDataStatusResponse.TaskAsrResult.AsrResult.ClientEvStat;
28+
import com.aliyuncs.qualitycheck.model.v20160801.GetAudioDataStatusResponse.TaskAsrResult.AsrResult.ClientSrStat;
29+
import com.aliyuncs.qualitycheck.model.v20160801.GetAudioDataStatusResponse.TaskAsrResult.AsrResult.SentenceResult;
30+
import com.aliyuncs.qualitycheck.model.v20160801.GetAudioDataStatusResponse.TaskAsrResult.AsrResult.ServiceEvStat;
31+
import com.aliyuncs.qualitycheck.model.v20160801.GetAudioDataStatusResponse.TaskAsrResult.AsrResult.ServiceSrStat;
2832
import com.aliyuncs.transform.UnmarshallerContext;
2933

3034

@@ -50,6 +54,36 @@ public static GetAudioDataStatusResponse unmarshall(GetAudioDataStatusResponse g
5054
asrResult.setAsrstatus(context.stringValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.asrstatus"));
5155
asrResult.setAsrStatusCode(context.stringValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.asrStatusCode"));
5256
asrResult.setErrorMessage(context.stringValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.errorMessage"));
57+
asrResult.setDuration(context.longValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.duration"));
58+
asrResult.setInteractiveCount(context.integerValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.interactiveCount"));
59+
60+
ServiceEvStat serviceEvStat = new ServiceEvStat();
61+
serviceEvStat.setSrole(context.integerValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.serviceEvStat.srole"));
62+
serviceEvStat.setSmaxEmotionValue(context.floatValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.serviceEvStat.smaxEmotionValue"));
63+
serviceEvStat.setSminEmotionValue(context.floatValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.serviceEvStat.sminEmotionValue"));
64+
serviceEvStat.setSavgEmotionValue(context.floatValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.serviceEvStat.savgEmotionValue"));
65+
asrResult.setServiceEvStat(serviceEvStat);
66+
67+
ClientEvStat clientEvStat = new ClientEvStat();
68+
clientEvStat.setCrole(context.integerValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.clientEvStat.crole"));
69+
clientEvStat.setCmaxEmotionValue(context.floatValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.clientEvStat.cmaxEmotionValue"));
70+
clientEvStat.setCminEmotionValue(context.floatValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.clientEvStat.cminEmotionValue"));
71+
clientEvStat.setCavgEmotionValue(context.floatValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.clientEvStat.cavgEmotionValue"));
72+
asrResult.setClientEvStat(clientEvStat);
73+
74+
ServiceSrStat serviceSrStat = new ServiceSrStat();
75+
serviceSrStat.setSrole(context.integerValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.serviceSrStat.srole"));
76+
serviceSrStat.setSmaxSpeechRate(context.floatValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.serviceSrStat.smaxSpeechRate"));
77+
serviceSrStat.setSminSpeechRate(context.floatValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.serviceSrStat.sminSpeechRate"));
78+
serviceSrStat.setSavgSpeechRate(context.floatValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.serviceSrStat.savgSpeechRate"));
79+
asrResult.setServiceSrStat(serviceSrStat);
80+
81+
ClientSrStat clientSrStat = new ClientSrStat();
82+
clientSrStat.setCrole(context.integerValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.clientSrStat.crole"));
83+
clientSrStat.setCmaxSpeechRate(context.floatValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.clientSrStat.cmaxSpeechRate"));
84+
clientSrStat.setCminSpeechRate(context.floatValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.clientSrStat.cminSpeechRate"));
85+
clientSrStat.setCavgSpeechRate(context.floatValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.clientSrStat.cavgSpeechRate"));
86+
asrResult.setClientSrStat(clientSrStat);
5387

5488
List<SentenceResult> sentenceResults = new ArrayList<SentenceResult>();
5589
for (int j = 0; j < context.lengthValue("GetAudioDataStatusResponse.data["+ i +"].asrResult.sentenceResults.Length"); j++) {

0 commit comments

Comments
 (0)