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

Can't parse lowercase given names. #21

Open
dreid opened this issue Jul 3, 2017 · 3 comments
Open

Can't parse lowercase given names. #21

dreid opened this issue Jul 3, 2017 · 3 comments

Comments

@dreid
Copy link

dreid commented Jul 3, 2017

Real world examples:

[32] pry(main)> Namae.parse("bell hooks").first.given
=> nil
[33] pry(main)> Namae.parse("danah boyd").first.given
=> nil
@akshayrawat
Copy link

akshayrawat commented Jul 3, 2018

@inukshuk thoughts on this? I have a similar scenario. The danah / bell above gets recognized as a particle. It would be nice if it got recognized as a given.

@inukshuk
Copy link
Member

inukshuk commented Jul 3, 2018

The parser differentiates between upper/lower case words for historical reasons (it was originally for parsing names as defined by BibTeX which has specific rules). If we'd want to ignore case, we'd have to skip particle detection I guess.

(As a workaround you might want to consider merging given/dropping-particle and family/non-dropping-particle or something like that.)

@prdanelli
Copy link

Has there been any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants