« Adobe Flash Player's Security-Sandbox is very restrictive | Main | We need flexibile crossdomain.xml on Google properties »
August 29, 2007
Google Indic Transliteration - Cool application
Google keeps coming up with innovative stuff, Google Indic Transliteration is one of latest additions. It allows English to Hindi transliteration.
It's an AJAX application with pretty neat user-interface. I have started using it, and spread the word among my friends. The moment I saw, I thought, if there is an API to use it on our application. I don't know, if there is one. I digged and found this URI:-
http://www.google.com/transliterate/indic?tlqt=1&langpair=en|hi&text=wahan%2Caap&tl_app=3
It would return the JSON data (you might not see some characters):-
while(1); [ { "ew" : "wahan", "hws" : [ "वहाँ","वहां", ] }, { "ew" : "aap", "hws" : [ "आप", ] }, ]
You can send multiple English-words by separating them with comma (,).
That's all, we need to use it in Flex/AIR app. Web-based Flex/Flash applications might require a server-side proxy to use this service, I am not sure, if Google's crossdomain.xml allows access to third-party applications?
Technorati tags: google, Indic transliteration
Posted by Abdul Qabiz at August 29, 2007 03:27 PM
Comments
you know the majority of people reading this will read "transliterate" as "translate" ;-)
icu4j has had this functionality for years: http://icu-project.org/apiref/icu4j/com/ibm/icu/text/Transliterator.html
though it's based on writing system scripts so "hindi" would be unknown to it, maybe Devanāgarī?
we wrapped a CFC around this functionality quite a while back.
Posted by: PaulH at August 29, 2007 06:43 PM
i think they use multiple words trnslation in their blogger interface - www.blogger.com/hindi
i selected a bunch of english words and pressed the button to get them translate
Posted by: khool at August 30, 2007 01:40 PM
It would return the JSON data (you might not see some characters):-
What do you mean by this? and how can I fecth the translated data through my C# application any idea?
Posted by: Ashfque at September 9, 2007 01:23 AM
@Ashfque:
> It would return the JSON data (you might not see
> some characters):-
> What do you mean by this?
I meant that you might not see some characters in this post, it all depends on your browser and machine.
> and how can I fecth the translated data through
> my C# application any idea?
You can use HTTP classes to get most of things done... Probably HTTPWebRequest/HTTPWebResponse?
-abdul
Posted by: Abdul Qabiz at September 9, 2007 09:44 PM
How do i fetch the data generated by google transliteration API in c# ? ( Im using Visual Studio 2008 )
Posted by: Sanket at September 25, 2008 10:22 PM