Page History
...
Code Block | ||
---|---|---|
| ||
http(s)://svc.webspellchecker.net/spellcheck31/script/ssrv.fcgiapi?cmd=check&text=this sampl text demonstrates the work of the Web API service.&lang=en_US&format=json&customerid=[your-service-id] |
...
Code Block | ||
---|---|---|
| ||
http(s)://svc.webspellchecker.net/spellcheck31/script/ssrv.fcgiapi?cmd=check&text=this sampl text demonstrates the work of the Web API service.&lang=en_US&format=xml&customerid=[your-service-id] |
...
Code Block | ||
---|---|---|
| ||
https://svc.webspellchecker.net/spellcheck31/script/ssrv.fcgiapi?cmd=check&tokens=["this sampl text.", " It demonstrate the work of the Web API service."]&lang=en_US&customerid=[your-service-id] |
...
Code Block | ||
---|---|---|
| ||
https://svc.webspellchecker.net/spellcheck31/script/ssrv.fcgiapi?cmd=check&tokens=["this sampl text.", " It demonstrate the work of the Web API service."]&lang=en_US&short_answer=true&customerid=[your-service-id] |
...
Code Block | ||
---|---|---|
| ||
https://svc.webspellchecker.net/spellcheck31/script/ssrv.fcgiapi? |
Code Block | ||
---|---|---|
| ||
cmd=check&text=this sampl text demonstrates the work of the Web API service.&lang=en_US&format=json&customerid=[your-service-id] |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{
"result": [
{
"matches": [
{
"type": "spelling",
"offset": 5,
"length": 5,
"suggestions": [
"sample",
"sampled",
"sampler",
"samples",
"ample",
"amply",
"scamp",
"stamp"
]
},
{
"type": "grammar",
"offset": 0,
"length": 4,
"rule": "UPPERCASE_SENTENCE_START",
"message": "This sentence does not start with an uppercase letter",
"suggestions": [
"This"
]
}
]
}
]
} |
Example 1.5 [POST]: Check request for text with the auto-detected language (output in JSON)
In this POST type request, we use “auto” as a value for language and define the priorities for the language dialects. If “en” is detected, then AI-based English will be used during check request.
Code Block | ||
---|---|---|
| ||
https://svc.webspellchecker.net/api? |
Code Block | ||
---|---|---|
| ||
cmd=check&text=this sampl text demonstrates the work of the Web API service.&lang=auto&format=json&customerid=[your-service-id]&auto_lang_priorities={"en":"en_AI"} |