python-nameparser
python-nameparser copied to clipboard
Problem parsing name with , V
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: ''
]>