| Crates.io | NameParser |
| lib.rs | NameParser |
| version | 0.1.0 |
| created_at | 2020-04-12 03:15:59.426916+00 |
| updated_at | 2020-04-12 03:15:59.426916+00 |
| description | A library for parsing person names into their individual components. |
| homepage | https://github.com/aeshirey/NameParser/ |
| repository | https://github.com/aeshirey/NameParser/ |
| max_upload_size | |
| id | 228878 |
| size | 111,181 |
This library is an approximation of my NameParserSharp C# library used to parse peoples' names into constituent parts. For example:
let p = PersonName::parse("Johannes Diderik van der Waals").unwrap();
assert_eq!(p.first, "Johannes");
assert_eq!(p.middle, "Diderik");
assert_eq!(p.last, "van der Waals");
assert_eq!(p.suffix, "");
The original project and therefore my direct C# port are LGPL-encumbered. This implementation is inspired by but not a port of the C#; therefore, I believe it is not LGPL-encumbered. As such, I am releasing this under the MIT license.
This version does not have all the functionality of the other libraries. Notably:
James (Jimmy) CarterJohn D. and Katherine T. MacArthur doesn't parse out to become two individuals.