Repository navigation
nameparser 2.6 ships the default vocabulary as per-word data files, adds an opt-in reading for names with two family names, and fixes words read as a credential or a title that are part of the name. Highlights:
- An opt-in reading for names with two family names.
Policy(two_family_names=True)readsGabriel García Márquezwith familyGarcía Márquez. (#754) - Surnames that are also credentials read as surnames.
Luo SiandMaria de Sagive familySiandde Sa, where 2.5 readSiandSaas credentials. (#791, #796, #857) - Wm and Md read as the given names they abbreviate.
Wm SmithandMr Md Karim Uddingive firstWmandMd, where 2.5 read both as titles. (#789, #853) - More credentials after a comma read as suffixes.
John Smith, MBChBgives suffixMBChB, where 2.5 gave firstMBChB, lastJohn Smith. (#797, #848)
One default is removed: sa is no longer a post-nominal acronym, so John Smith SA gives last SA. Add it back with Lexicon.default().add(suffix_acronyms={"sa"}). (#857)
A Lexicon, Policy or Parser pickled by an earlier release no longer loads; re-pickle after upgrading. ParsedName and HumanName pickles still load. (#754, #835)
Full list of changes: https://nameparser.readthedocs.io/en/latest/release_log.html