How to use Google transliteration API in my java web application?

馋奶兔 提交于 2019-12-12 10:48:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!