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

Suffix not parse correctly in format "last_name Jr., first_name" #3

Closed
derek73 opened this issue Apr 2, 2014 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@derek73
Copy link
Owner

derek73 commented Apr 2, 2014

https://code.google.com/p/python-nameparser/issues/detail?id=30

What steps will reproduce the problem?

  1. HumanName("John Smith Jr.")
  2. HumanName("Smith Jr., John")

What is the expected output?

<HumanName : [
    Title: '' 
    First: 'John' 
    Middle: '' 
    Last: 'Smith' 
    Suffix: 'Jr.'
]>

What do you see instead?

<HumanName : [
    Title: '' 
    First: 'John' 
    Middle: '' 
    Last: 'Smith Jr.' 
    Suffix: ''
]>

What version of the product are you using? On what operating system?
0.2.7, Python 2.7, Windows 7

@geoffblack
Copy link

+1 I have this issue with several similar to "Williams III, Joseph" so I'm having to code around it. Thanks for the otherwise very useful library.

@derek73 derek73 added this to the v0.3.3 milestone Aug 4, 2014
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

2 participants