Skip to main content

Parse US addresses using conditional random fields

Project description

usaddress is a python library for parsing unstructured address strings into address components, using advanced NLP methods.

From the python interpreter:

>>> import usaddress
>>> usaddress.parse('123 Main St. Suite 100 Chicago, IL')
[('123', 'AddressNumber'),
 ('Main', 'StreetName'),
 ('St.', 'StreetNamePostType'),
 ('Suite', 'OccupancyType'),
 ('100', 'OccupancyIdentifier'),
 ('Chicago,', 'PlaceName'),
 ('IL', 'StateName')]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

usaddress-0.4.6.tar.gz (50.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page