Repository navigation
v2.5.0
nameparser 2.5 reads more of the shapes real listings write. Highlights:
- Junior and senior in 45 languages.
Antonio Pavlović mlađigives suffixmlađi, where 2.4 read it as the last name. (#661, #679) - A title before a family comma is a title.
Dr. Smith, Johngives titleDr., lastSmith, where 2.4 gave lastDr. Smith. (#701) - A lone first name followed by V, I or X keeps its last name again.
Malcolm Xgives lastX, as 1.4.0 did. (#718, #721) - Chinese and Japanese credential and office words.
田中社長gives family田中, suffix社長, andlocales.ZHknows more surnames, compound ones included. (#671, #707, #695)
One default is removed: mai is no longer a post-nominal acronym, so Tran Thi Mai keeps its given name and John Smith MAI gives last MAI. Add it back with Lexicon.default().add(suffix_acronyms={"mai"}). (#687)
Full list of changes: https://nameparser.readthedocs.io/en/latest/release_log.html