I noticed that Google accepts transliteration and IME requests in any language through the url:
https://inputtools.google.com/request?text=$&itc=$&num=$\
&cp=0&cs=1&ie=utf-8&oe=utf-8&app=test
where $
is a variable below, for any language and text.
For example, French (try it):
var text = "ca me plait",
itc = "fr-t-i0-und",
num = 10;
// Result:
[
"SUCCESS",
[
[
"ca me plait",
[
"ça me plaît"
]
]
]
]
Or, Mandarin (try it):
var text = "shide",
itc = "zh-t-i0-pinyin",
num = 5;
// Result:
[
"SUCCESS",
[
[
"shide",
[
"使得",
"似的",
"是的",
"实德",
"似地"
],
[],
{
"annotation": [
"shi de",
"shi de",
"shi de",
"shi de",
"shi de"
]
}
]
]
]
All languages work and return great suggestions. The thing is I can't find documentation for this anywhere on the web, although it clearly looks like an API. Does anyone know if there is an official Google client or if they're okay with raw, unauthenticated requests?
It's used perhaps unofficially by plugins like jQuery.chineseIME.js, but I would appreciate any official usage information.
Free input tool transliteration software extension. Google Input Tools is a free transliteration software extension for your PC. The Windows extension allows you to enter text in your preferred language, even when your keyboard doesn't have the correct characters. Google Input Tool supports over 90 languages.
Google Input is currently available on Google Drive. There is also an extra option of downloading the Google Input extension on Google Chrome. After the download, open Microsoft Word, change the language from default English to the native language via the language bar and users can write in their native language.
Advantages of using Google Input ToolsIt supports multiple languages. It is easy to use and has a clean user-interface. It is a free tool that can be used both online and offline. You can easily integrate it with the Chrome browser to use online.
Whatever. I created my own plugin that uses it for Chinese, and can be extended easily: https://bitbucket.org/purohit/jquery.intlkeyboard.js.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With