Skip to content

Multiple tag options for a word not working #38

@shukriadams

Description

@shukriadams

The word "drive" can be both a verb and noun.

I drive the drive so hard that it fails.

The default lexicon lists drive as a noun first, and if I tag this sentence, drive is marked as a noun for both occurrences. If I overwrite the the lexicon so it's a verb first

"drive" : ["VB", "VBP", "NN"],

then drive then becomes a verb for both occurrences. How does this library know when to distinguish, for example, between a verb case and noun case based on sentence position relative to other words? It doesn't seem to take the preceding pronoun or article into account here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions