You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Derek,
I have a usecase where I need to parse names containing comma(,), but the library seems to work differently in this case.
from nameparser import HumanName as hm #1) here first name should be-E ANNE and lastname should be-LEONARDO
hm("E Anne D,Leonardo")
<HumanName : [
title: ''
first: 'Leonardo'
middle: ''
last: 'E Anne D'
suffix: ''
nickname: ''
]>
#2) here first name should be-Marry Ann and lastname should be-Luther
hm("Mary Ann H,Luther")
<HumanName : [
title: ''
first: 'Luther'
middle: ''
last: 'Mary Ann H'
suffix: ''
nickname: ''
]>
Even if I removed the comma from the name, it has different output.
Hi Derek,
I have a usecase where I need to parse names containing comma(,), but the library seems to work differently in this case.
from nameparser import HumanName as hm
#1) here first name should be-E ANNE and lastname should be-LEONARDO
hm("E Anne D,Leonardo")
<HumanName : [
title: ''
first: 'Leonardo'
middle: ''
last: 'E Anne D'
suffix: ''
nickname: ''
]>
#2) here first name should be-Marry Ann and lastname should be-Luther
hm("Mary Ann H,Luther")
<HumanName : [
title: ''
first: 'Luther'
middle: ''
last: 'Mary Ann H'
suffix: ''
nickname: ''
]>
Even if I removed the comma from the name, it has different output.
hm("Mary Ann H Luther")
<HumanName : [
title: ''
first: 'Mary'
middle: 'Ann H'
last: 'Luther'
suffix: ''
nickname: ''
]>
The text was updated successfully, but these errors were encountered: