Skip to content

v2.4.0

Choose a tag to compare

@derek73 derek73 released this 11 Oct 22:34
· 551 commits to master since this release
b0a39a4

nameparser 2.4 reads post-nominal credentials much more reliably, recognizes more naming conventions, and writes credentials the usual way when it repairs case.

  • Capitals tell a credential from a surname. Jack MA is Jack with an MA and Jack Ma is the surname Ma, where 2.3 read both as the surname. Credentials the word lists don't carry, such as LEED AP and N.C.C., are read too.
  • Credentials after a name stay together. Jane Smith, PhD MA gives suffix PhD MA, where 2.3 read PhD as her first name, and Eric H. Holder Jr. Attorney General gives suffix Jr. and title Attorney General.
  • More naming conventions. The Catalan surname link (Josep Carod i Rovira), the Irish particles (Liam Ó Murchú), salutations in Finnish, Icelandic, Malay and other languages (Herra Väinö Johansson), and Japanese names in halfwidth katakana (山田 タロウ).
  • Case repair writes credentials the usual way. john smith phd capitalizes to John Smith PhD and JANE DOE MBA to Jane Doe MBA.
  • More ambiguity reports, each naming the field its word ends up in.
  • Python 3.15 support.

Full list of changes: https://nameparser.readthedocs.io/en/latest/release_log.html