google-api-translate-java

码农软件 · 软件分类 · Google相关API · 2019-03-20 17:58:31

软件介绍

google-api-translate-java 是 Java 语言对Google翻译引擎的封装类库,使用方法如下:

import com.google.api.translate.Language;
import com.google.api.translate.Translate;

public class Main {
public static void main(String[] args) {
try {
String translatedText =
Translate.translate("Salut le monde", Language.FRENCH, Language.ENGLISH);
System.out.println(translatedText);
} catch (Exception ex) {
ex.printStackTrace();
}
}
}

更多的例子:http://code.google.com/p/google-api-translate-java/wiki/ExampleUsage

本文地址:https://www.codercto.com/soft/d/1779.html

Computers and Intractability

Computers and Intractability

M R Garey、D S Johnson / W. H. Freeman / 1979-4-26 / GBP 53.99

This book's introduction features a humorous story of a man with a line of people behind him, who explains to his boss, "I can't find an efficient algorithm, but neither can all these famous people." ......一起来看看 《Computers and Intractability》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试