#1190·compromise

Strange verb detection for a common sentence

Author: artiom-rosuCreated Oct 14, 2025Updated Oct 15, 2025
Labelstagger
const sentence = "Developed backend for real-time AI communication";
const verbs = doc.verbs().json();

console.log(verbs);

Here is the console.log result

[
    {
        "text": "backend",
        "terms": [
            {
                "text": "backend",
                "pre": "",
                "post": " ",
                "tags": [
                    "Verb",
                    "Infinitive"
                ],
                "normal": "backend",
                "index": [
                    0,
                    1
                ],
                "id": "backend|00200001O",
                "confidence": 0.7,
                "chunk": "Verb"
            }
        ],
        "verb": {
            "root": "backend",
            "preAdverbs": [],
            "postAdverbs": [],
            "auxiliary": "",
            "negative": false,
            "prefix": "",
            "infinitive": "backend",
            "grammar": {
                "form": "simple-present",
                "tense": "PresentTense",
                "copula": false,
                "isInfinitive": false
            }
        }
    }
]

As you can see, it returns backend instead of developed verb

Source: spencermountain/compromise