Skip to content

"president" is marked as a surname! #109

@bkitej-rw

Description

@bkitej-rw
>> 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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions