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

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

translator-java

  • 资源大小:744.37 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分: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
  • 11 12秒前 成为了本站会员

  • 开心快活人 2小时前 成为了本站会员

  • 晋财 3小时前 成为了本站会员

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

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

  • 柳贻 1天前 成为了本站会员

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

  • 焦昱贺 1天前 成为了本站会员

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

  • Li 2天前 成为了本站会员

0.272114s