- Fix handling of string encoding in python 2.x (34) - Add support for dictionary key access, e.g. name['first'] - add 'santa' to prefixes, add 'cpa', 'csm', 'phr', 'pmp' to suffixes (35) - Fix prefixes before multi-part last names (23) - Fix capitalization bug (30)
0.3.4
- Fix 24, handle first name also a prefix - Fix 26, last name comma format when lastname is also a title
0.3.3
- Allow suffixes to be chained (8) - Handle trailing suffix in last name comma format (3). Removes support for titles with periods but no spaces in them, e.g. "Lt.Gen.". (21)
0.3.2
- Retain original string in "original" attribute. - Collapse white space when using custom string format. - Fix 19, single comma name format may have trailing suffix
0.3.1
Fix PyPi package missing config module.
0.3.0
Initial refactoring of the constants and configurations system to make it easier to modify (1). You can now adjust the parser's configuration like so:
>>> from nameparser import HumanName >>> from nameparser.config import CONSTANTS >>> CONSTANTS.titles.add('dean', 'Chemistry') >>> hn = HumanName("Assoc Dean of Chemistry Robert Johns") >>> hn <HumanName : [ Title: 'Assoc Dean of Chemistry' First: 'Robert' Middle: '' Last: 'Johns' Suffix: '' Nickname: '' ]>
New instructions for customizing the parser are included in the [new documentation](http://nameparser.readthedocs.org/en/latest/).