Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added descriptions.

...

AttibuteTypeValueDescription
typestring
  • spelling
  • grammar
Type of the problem found
offsetnumber
Start position of a problem found in sentence
lengthnumber
Length of offset
udboolean
  • true
True if a mispelled word is present in a user dictionary
suggestionsarray of strings
Suggested corrections for spelling, grammar or style problem
rulestring
Short description of the problem by rule; available only for type 'grammar'
messagestring
Description of the problem; available only for type 'grammar'


Code Block
languagejs
themeEmacs
titleType: Spelling
{
    "result": [
        {
            "matches": [
                {
                    "type": "spelling",
                    "offset": X1,
                    "length": Y1,
					"ud": true,
                    "suggestions": ["..."]
                }
            ]
        }
    ]
}

...