Visitar URL original
Alternate last name in parentheses is parsed into nickname field · Issue #22 · derek73/python-nameparser · GitHub
The Wayback Machine - https://web.archive.org/web/20220411063006/https://github.com/derek73/python-nameparser/issues/22
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

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

Open
geoffblack opened this issue Jul 19, 2014 · 1 comment
Open

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

geoffblack opened this issue Jul 19, 2014 · 1 comment
Labels
Milestone

Comments

@geoffblack
Copy link

@geoffblack geoffblack commented Jul 19, 2014

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

@adamboche adamboche commented Jul 24, 2016

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
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

3 participants