Page History
...
Attibute | Type | Value | Description |
---|---|---|---|
type | string |
| Type of the problem found |
offset | number | Start position of a problem found in sentence | |
length | number | Length of offset | |
ud | boolean |
| True if a mispelled word is present in a user dictionary |
suggestions | array of strings | Suggested corrections for spelling, grammar or style problem | |
rule | string | Short description of the problem by rule; available only for type 'grammar' | |
message | string | Description of the problem; available only for type 'grammar' |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "result": [ { "matches": [ { "type": "spelling", "offset": X1, "length": Y1, "ud": true, "suggestions": ["..."] } ] } ] } |
...