Skip to content

Last Name 'Ma' treated as a suffix #26

Closed
@lebailly

Description

@lebailly
In [1]: HumanName('Andrew Ma')
Out[1]: 
<HumanName : [
    title: '' 
    first: 'Andrew' 
    middle: '' 
    last: 'Ma' 
    suffix: ''
    nickname: ''
]>

In [2]: HumanName('Ma, Andrew')
Out[2]: 
<HumanName : [
    title: '' 
    first: 'Andrew' 
    middle: '' 
    last: '' 
    suffix: 'Ma'
    nickname: ''
]>

In line 1 the name is correctly parsed. However in line 2 (when it is listed "last name, first") the Ma is treated as a suffix and there is no last name. In my opinion, since there is no last name the parser should assume it's a last name and not a suffix.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions