% curl 'http://services.gingersoftware.com/Ginger/correct/json/GingerTheText?&apiKey=6ae0c3a0-afdc-4532-a810-82ded0054236&lang=US&clientVersion=2.0&text=helllo' | jq "."
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 334 100 334 0 0 508 0 --:--:-- --:--:-- --:--:-- 509{
"LightGingerTheTextResult": [
{
"UXFrgTo": 5,
"UXFrgFrom": 0,
"Type": 1,
"TopLrnCatId": 31,
"Confidence": 4,
"From": 0,
"LrnFrg": null,
"LrnFrgOrigIndxs": [],
"Mistakes": [
{
"To": 5,
"From": 0,
"CanAddToDict": true
}
],
"ShouldReplace": true,
"Suggestions": [
{
"Text": "Hello",
"LrnCatId": 31,
"Definition": "used as a greeting"
},
{
"Text": "Helllo",
"LrnCatId": 2
}
],
"To": 5
}
]
}% curl 'http://services.gingersoftware.com/Ginger/correct/json/GingerTheText?&apiKey=6ae0c3a0-afdc-4532-a810-82ded0054236&lang=US&clientVersion=2.0&text=Hello' | jq "."
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 31 100 31 0 0 40 0 --:--:-- --:--:-- --:--:-- 42{
"LightGingerTheTextResult": []
}https://gist.github.com/koron/5454500 http://blog.livedoor.jp/xaicron/archives/54466736.html