name-cleaver 0.2.5
Name parser and formatter (for politicians, individuals, and organizations)
Latest Version: 0.2.12
This is the name parser and standardizer for the datacommons project. It now supports politician, individual and organization names.
Installation
Installation is easy:
pip install -e git+http://github.com/sunlightlabs/name-cleaver.git#egg=name-cleaver
Usage
Basic usage is the same for each type of name, just import the relevant NameCleaver class from one of:
- PoliticianNameCleaver
- IndividualNameCleaver
- OrganizationNameCleaver
Example:
from name_cleaver import PolicitianNameCleaver smith = PoliticianNameCleaver('Smith, Robert J').parse()
print str(smith) => "Robert J Smith"
- Author: Alison Rowland
- Home Page: http://github.com/sunlightlabs/name-cleaver/
- License: BSD License
- Platform: any
- Categories
- Package Index Owner: arowla
- DOAP record: name-cleaver-0.2.5.xml
