Fixes Duplicate Key Warnings#9
Conversation
|
I was about to make yet another, glad I checked first. Looks like this repository is dead, unfortunately. @mericson ? |
|
Yes, @mericson is active, just not giving this any love 😿 💔 @djudd's version looks legit. @djudd, what do ya say? |
|
Any of you folks used nameable? |
|
This fork has some fixes and performance improvements, and we're using pretty heavily it in production at Academia.edu: https://github.com/academia-edu/people I was not previously aware of https://github.com/chorn/nameable but it looks like it could be helpful. The parsing implementation seems to be similar to the People gem, a bit easier to read, but with no explicit handling of initials. There's also https://github.com/berkmancenter/namae, which uses a grammar instead of ad-hoc heuristics - misses some cases as a result but also covers some new ones. I'm working on a Rust library https://github.com/djudd/human-name - as a side project to learn Rust, but with the intent of possibly using it in production eventually. It's currently at an alpha stage, but ~30x faster than the Ruby gems I've tested, and adds intelligent equality testing. I do intend to write Ruby bindings at some point, but that's probably at least a few weeks away. |
Fixes the following two warnings about duplicate hash keys: