jasonpriem / HumanNameParser.php

Returns the parts (leading initial, first, middle, last, suffix) of a name from a string.
MIT License
108 stars 41 forks source link

Port to Java #11

Closed kinow closed 9 years ago

kinow commented 9 years ago

Hi, after reading about R and Node ports, and needing to use similar library in Java, here's my take on a Java port of HumanNameParser.php

https://github.com/tupilabs/HumanNameParser.java

I tried to keep the design, code, if/else's, and even tests (used testNames.txt too in the tests).

The code is ready to be deployed to Maven Central repository if there is no objection. I've added the copyright, kept the license and tried to let it clear that the code is a port of the original PHP library.

Thank you!

kinow commented 9 years ago

The Maven site: http://tupilabs.github.io/HumanNameParser.java/

jasonpriem commented 9 years ago

Awesome! Nice work!

kinow commented 9 years ago

Thanks @jasonpriem !

By the way, we are discussing to use the Java code with some modifications in Apache Commons Text.

Even though the licenses are compatible, it is preferable to use the code if your are OK with that - since you're the original author :-)

Would that be all right?

kinow commented 9 years ago

ping? :-)