Java-accessible web service for translation?
I now have a running Java 开发者_运维问答program which only lacks of the final step,that is:
suppose I have a String1 ="Obama" is there any online translation API that I could use to get the corresponding Chinese word back,and put it in another String2="奥巴马“.
I've tried BabelFish,but that doesn't seem to provide any service for Java program.
Thanks guys,really need your help here to find some translation API for me that I could use in my Java program.
Robert
try Google Translate
You can use Google API Translate Java.
Provides a simple, unofficial, Java client API for using Google Translate.
Because of Google's decision in May 2011 to no longer have a free translation service (er I mean to deprecate the translator api), I see that there is need for other answers to this question.
One such alternative I found is Microsoft Translator Java Api . Just saying ...
Google Translate Kit. Java Wrapper just released
精彩评论