文本翻译(翻译君)-nlpTextTranslate
返回内容介绍
public static String sample(TAipNlp client) throws Exception {
//参数内容
String source = "zh";//源语言缩写
String target= "en";//目标语言缩写
String text = "小帅封装代码";//待翻译文本
String result = client.nlpTextTranslate(text,source,target);//文本翻译(翻译君)
return result;
}