Project: usaddress

Parse US addresses using conditional random fields

Project Details

Latest version
0.5.10
Home Page
https://github.com/datamade/usaddress
PyPI Page
https://pypi.org/project/usaddress/

Project Popularity

PageRank
0.0033004788642782405
Number of downloads
533912

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')]