Skip to content

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

Description

@geoffblack

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"

Activity

  1. adamboche commented on Jul 24, 2016

    @adamboche

    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'
    ]>
    
  2. added this to the 1.1.0 milestone on Oct 26, 2018
  3. martin-affinitas commented on Feb 16, 2023

    @martin-affinitas

    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?

  4. modified the milestones: 1.1.0, v1.3.0 on Jul 3, 2026
  5. self-assigned this
    on Jul 3, 2026
  6. added 2 commits that reference this issue on Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions