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

NER tags are on the tokens, not the words #999

Open
AngledLuffa opened this issue Apr 8, 2022 · 0 comments
Open

NER tags are on the tokens, not the words #999

AngledLuffa opened this issue Apr 8, 2022 · 0 comments
Labels

Comments

@AngledLuffa
Copy link
Collaborator

When using an English tokenizer with MWT (such as EWT, which treats possessive clitics as MWT), the NER model puts the tags on the entire token, not just the word, and sometimes gets it wrong in situations it shouldn't

MWT tokenizer:

John's headache is bad -> no NER tags on John or 's

This makes John's headache worse -> NER tags on both John and 's

Non-MWT tokenizer:

John's headache is bad -> NER tag on just John, not 's, as expected

@AngledLuffa AngledLuffa added the bug label Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant