Skip to content

Alternate last name in parentheses is parsed into nickname field #22

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

Open
geoffblack opened this issue Jul 19, 2014 · 2 comments
Open
Labels
Milestone

Comments

@geoffblack
Copy link

Apparently putting maiden or married names into parentheses directly following the last name is not uncommon. In 0.3.2, this is parsed into the nickname field even if it doesn't follow the first name. As an example, parsing "Baker (Johnson), Jenny" yields:
first: "Jenny"
last: "Baker"
nickname: "Johnson"

@adamboche
Copy link

This is correctly parsed, which is nice:

>>> HumanName("MURDOCK, Orrice Abram, Jr. (Abe)")
<HumanName : [
    title: '' 
    first: 'Orrice' 
    middle: 'Abram' 
    last: 'MURDOCK' 
    suffix: 'Jr.'
    nickname: 'Abe'
]>

@derek73 derek73 added this to the 1.1.0 milestone Oct 26, 2018
@martin-affinitas
Copy link

martin-affinitas commented Feb 16, 2023

I am parsing names from obituaries and placing the maiden name in parenthesis at the end of the name is VERY common as are nicknames. Examples:
Barbara "Bobbie" Loy (Cox). (Cox) is the maiden name.
GLENDA FAYE NICELY (VESS) (Vess) is the maiden name.

Is there any way to distinguish the two forms of nicknames? Is a maiden name attribute an option?

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

4 participants