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.5.10.tar.gz (64.3 kB view hashes)

Uploaded Source

Built Distribution

usaddress-0.5.10-py2.py3-none-any.whl (63.9 kB view hashes)

Uploaded Python 2 Python 3

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