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.
Here’s how you use it:
>>> 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
Release history Release notifications | RSS feed
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.1.tar.gz
(257.1 kB
view details)
File details
Details for the file usaddress-0.1.tar.gz
.
File metadata
- Download URL: usaddress-0.1.tar.gz
- Upload date:
- Size: 257.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e90f28eb23c9a1314925f1736710c24fab2e7475de9e6ff4b31ec6d91695796e |
|
MD5 | d5a71b5a01495a7680d3e264bc23787e |
|
BLAKE2b-256 | 8825b0dc32c906382c3d7b8fd2313014e5297282d9b4a4008c5145d4e22f74d7 |