package com.ysk.tldemo;
//提问/回答
public class TalkBean {
public TalkBean(String content, int imageId, boolean isAsk) {
super();
this.content = content;
this.imageId = imageId;
this.isAsk = isAsk;
}
public String content;
public int imageId;
public boolean isAsk;//是否是提问
}
package com.ysk.tldemo;
import java.util.ArrayList;
public class VoiceBean {
public ArrayList<WS> ws;
public class WS {
public ArrayList<CW> cw;
}
public class CW {
public String w;
}
}
代码很简单,没什么难度。使用时,将图灵和百度的两个key分别换成自己的就好了。
来源:CSDN
作者:太多的虚幻
链接:https://blog.csdn.net/u011316507/article/details/53643576