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

您现在的位置是:虫虫源码 > Java > translator-java

translator-java

  • 资源大小:744.37 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: translatorjava

资 源 简 介

Overview A simple to use Java API for performing translations from one language to another. This implementation uses the Bing (Microsoft) Translation API. Specifically, translations are performed using HTTP POST requests and XML. Strings of up to 10,240 characters can be translated. The only method implemented currently is the translateArray method. The method takes as input an array of Strings (up to 10,240 chars each) and returns an array of translated Strings. Requirements Sign up here for a Bing API key. Grab the JAR from the downloads section. Quick Start ``` final String apiKey = YOURAPIKEY; final Translator translator = new Translator(apiKey); final String[] englishTexts = {"Hello world. Hello all!", "And Goodbye!"}; final String[] spanishTranslation = translator.tr

相 关 资 源

VIP VIP
  • 大智若愚 2小时前 成为了本站会员

  • Mason 5小时前 成为了本站会员

  • 5小时前 成为了本站会员

  • Half_Punch 1天前 成为了本站会员

  • liqing71718 1天前 成为了本站会员

  • 伟国 1天前 成为了本站会员

  • songy 1天前 成为了本站会员

  • 纯色幽默 1天前 成为了本站会员

  • odd? 1天前 成为了本站会员

  • 52JOY... 1天前 成为了本站会员

0.168901s