问题
How to use Google Transliteration API in my Java application.
If i give a String (either in English or Arabic) as input, the Google Transliterator API then it should translate it into the corresponding other language and give the transliterated string to me. I also want to know is it better to use Google Translator or transliterator?
How to do this? Any Suggestions Please. I need to use this in my JAVA program.
回答1:
There's a Java API. See the docs here for how to use it.
An example of how to use it is included in the test code.
来源:https://stackoverflow.com/questions/4288425/how-to-use-google-transliteration-api-in-my-java-web-application