Skip to content

Strange verb detection for a common sentence #1190

@artiom-rosu

Description

@artiom-rosu
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions