Skip to content

Problem parsing name with , V #136

Description

@pusateri

nameparser version 1.1.1

When I use HumanName with the string "John W. Ingram, V", it can't parse correctly but if I remove the comma, it works. Also, if I try using IV (4th) instead of V (5th), then it works with the comma so I think even though V seems to be recognized in the documentation, it isn't fully working.

from nameparser import HumanName
>>> name = HumanName("John W. Ingram, V")
>>> name
<HumanName : [
	title: '' 
	first: 'V' 
	middle: '' 
	last: 'John W. Ingram' 
	suffix: ''
	nickname: ''
]>
>>> name = HumanName("John W. Ingram V")
>>> name
<HumanName : [
	title: '' 
	first: 'John' 
	middle: 'W.' 
	last: 'Ingram' 
	suffix: 'V'
	nickname: ''
]>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions