Skip to content

v2.5.0

Choose a tag to compare

@derek73 derek73 released this 19 Oct 08:38
· 147 commits to master since this release
2915693

nameparser 2.5 reads more of the shapes real listings write. Highlights:

  • Junior and senior in 45 languages. Antonio Pavlović mlađi gives suffix mlađi, where 2.4 read it as the last name. (#661, #679)
  • A title before a family comma is a title. Dr. Smith, John gives title Dr., last Smith, where 2.4 gave last Dr. Smith. (#701)
  • A lone first name followed by V, I or X keeps its last name again. Malcolm X gives last X, as 1.4.0 did. (#718, #721)
  • Chinese and Japanese credential and office words. 田中社長 gives family 田中, suffix 社長, and locales.ZH knows 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