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
error on two joiner words #53
Comments
I cannot replicate this. Could you provide more information to help me replicate?
|
Sure. from nameparser import HumanName def test_name(name): I've played around a bit, and it's not all "of the" combinations. For HumanName('Bob, Author of the book of the allies') Darya On Wed, Aug 3, 2016 at 3:58 PM, derek73 notifications@github.com wrote:
|
'Bob, Author of the book of the allies' doesn't give the error, so I think it's related to capitalization of multiple conjunctions when combined with titles. Should be parsed as a title though. That
|
Happy to help test. Darya On Wed, Aug 3, 2016 at 7:45 PM, derek73 notifications@github.com wrote:
|
I ended up refactoring that It's in master now. I think you can install it with |
I'm going to go ahead and close this ticket and make a new release. Let me know if you have any problems with it. |
Thanks, and sorry for the delay. Verified that "of the of the" no longer
throws an error. Found a few more interesting special cases. Filed here:
#57 .
Darya
…On Wed, Aug 10, 2016 at 4:59 PM, derek73 ***@***.***> wrote:
Closed #53 <#53>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#53 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARciotuBN8QVXyEicR-q9_nJf4U_6klrks5qejuogaJpZM4Jb0Zl>
.
|
If a name contains two joiner words one after another, s.a. "John of the Doe", get:
HumanName:ERROR:parser.py:Couldn't find 'The' in pieces.
error.
The text was updated successfully, but these errors were encountered: