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

"president" is marked as a surname! #109

Open
bkitej-rw opened this issue Jun 16, 2024 · 0 comments
Open

"president" is marked as a surname! #109

bkitej-rw opened this issue Jun 16, 2024 · 0 comments

Comments

@bkitej-rw
Copy link

>> import probablepeople
>> probablepeople.tag("president joe biden")

RepeatedLabelError: 
ERROR: Unable to tag this string because more than one area of the string has the same label

ORIGINAL STRING:  president joe biden
PARSED TOKENS:    [('president', 'Surname'), ('joe', 'GivenName'), ('biden', 'Surname')]
UNCERTAIN LABEL:  Surname

When this error is raised, it's likely that either (1) the string is not a valid person[/corporation](http://localhost:8888/corporation) name or (2) some tokens were labeled incorrectly

To report an error in labeling a valid name, open an issue at https://github.com/datamade/probablepeople/issues/new - it'll help us continue to improve probablepeople!

For more information, see the documentation at https://probablepeople.readthedocs.io/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant