首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > API官方与谷歌的主要特点翻译成java。

API官方与谷歌的主要特点翻译成java。

资 源 简 介

Translating a text Translator translate = Translator.getInstance();String text = translate.translate("I am programmer", Language.ENGLISH, Language.PORTUGUESE);System.out.println(text); //Eu sou programador Detecting a language of a text Translator translate = Translator.getInstance();String prefix = translate.detect("I am a bus");System.out.println(prefix); //en # Taking the a name of a language # Translator translate = Translator.getInstance();Language language = Language.getInstance();String prefixLanguage = translate.detect("I am a bus"); //enString nameLanguage = language.getNameLanguage(prefixLanguage);System.out.println(nameLanguage); //ENGLISH Taking translated name of a language Translator translate = Translator.getInstance();Language language = Language.getInstance();String prefixLanguage = translate.detect("I am a bus"); //enString tran

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP