Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deeppavlov tagging improvements #9

Open
panc86 opened this issue Mar 9, 2022 · 0 comments
Open

Deeppavlov tagging improvements #9

panc86 opened this issue Mar 9, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@panc86
Copy link
Collaborator

panc86 commented Mar 9, 2022

Problem

Deeppavlov fails to tag the following sentence properly.

Ed uno in italiano da Roccacanuccia nella pianura pontina

The current output tags are as follows:

[
    [
        "Roccacannuccia",
        "nella",
        "pianura",
        "pontina"
    ],
    [
        "LOC",
        "LOC",
        "LOC",
        "LOC",
    ]
]

However, this is wrong as "Roccacannuccia" is a Geo Political Entity (GPE).
The expected output tags should be:

[
    [
        "Roccacannuccia",
        "nella",
        "pianura",
        "pontina"
    ],
    [
        "GPE",
        "O",
        "LOC",
        "LOC",
    ]
]

Solution

Retagging ngrams of capitalized words seems to solve the issue. However, we need to limit the number of Deeppavlov API calls
to keep the process fast.

@panc86 panc86 self-assigned this Mar 9, 2022
@panc86 panc86 added the enhancement New feature or request label Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant