Skip to content

Instantly share code, notes, and snippets.

@lexx888
Created March 10, 2021 12:47
Show Gist options
  • Save lexx888/11c83c06395866ce7c3c4183d3621297 to your computer and use it in GitHub Desktop.
Save lexx888/11c83c06395866ce7c3c4183d3621297 to your computer and use it in GitHub Desktop.
stewartmcgown / grammarly-api response
{
"alerts": [
{
"point": "WrongVerbForm",
"transforms": [
"<span class='gr_grammar_del'>have</span>→<span class='gr_grammar_ins'>had</span>"
],
"title": "Wrong verb form",
"minicardTitle": "Change the form of the verb",
"result": "",
"details": "<p>Most English verbs have five forms: walk (the base form), walks (the third-person singular present), walked (the simple past), walking (the present participle), and walked (the past participle). For regular verbs, like <i>walk</i>, the simple past and the past participle forms are the same. For irregular verbs, the simple past and past participle are usually different: sing (the base form), sings (the third-person singular present), sang (the simple past), singing (the present participle), and sung (the past participle).<br/>\nThe correct form depends on context. When you combine a verb with a form of <i>to be</i>, you typically need an -ed or -ing form. When you combine a verb with a modal like <i>can</i> or <i>should</i>, you typically need the base form.\n",
"explanation": "<p>It appears that your sentence or clause uses an incorrect form of the verb <b>have</b>. Consider changing it.\n",
"examples": "<p><span class=\"red\">Incorrect: It’s really going to <b>depended</b> on you.</span><br/><span class=\"green\">Correct: It’s really going to <b>depend</b> on you.</span><br/><p><span class=\"red\">Incorrect: Your tuition could be completely <b>cover</b>.</span><br/><span class=\"green\">Correct: Your tuition could be completely <b>covered</b>.</span><br/>",
"todo": "change the form of the verb",
"sentence_no": 0,
"free": true,
"category": "Verbs",
"pid": 814804,
"rid": 814804,
"sid": 2085990,
"begin": 19,
"end": 23,
"text": "have",
"group": "Grammar",
"pname": "Grammar/Verbs/WrongVerbForm/WrongVerbForm",
"phash": "FAFF78337291AE6ABF495FCAF8710B5A",
"pversion": "1.0.11742",
"rev": 0,
"highlightBegin": 19,
"highlightEnd": 23,
"highlightText": "have",
"replacements": [
"had"
],
"transformJson": {
"context": {
"e": 29,
"s": 10
},
"highlights": [
{
"s": 9,
"e": 13
}
],
"alternatives": [
{
"ops": [
{
"retain": 9
},
{
"delete": 4,
"attributes": {
"type": "main"
}
},
{
"insert": "had",
"attributes": {
"type": "main"
}
}
]
}
]
},
"impact": "critical",
"extra_properties": {
"fluency": "true",
"j": "0.4260696564372724",
"priority": "2"
},
"cardLayout": {
"category": "General",
"group": "Grammar",
"groupDescription": "Corrects grammatical errors",
"rank": 20,
"outcome": "Correctness",
"outcomeDescription": "Corrects misspellings, grammatical errors, missing and misused punctuation. Checks for natural phrasing and good word choice.",
"outcomeRank": 10,
"bundle": "Fix spelling and grammar",
"bundleRank": 10
},
"categoryHuman": "Incorrect verb forms",
"cost": 1,
"view": "priority",
"inline": "inline",
"action": "alert",
"id": 4
}
],
"result": {
"sid": 1,
"rev": 0,
"score": 0,
"generalScore": -1,
"removed": [],
"dialect": "british",
"foreign": false,
"action": "finished"
},
"original": "It is good that she have come.\n"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment