datamade / usaddress

:us: a python library for parsing unstructured United States address strings into address components
https://parserator.datamade.us/usaddress
MIT License
1.5k stars 302 forks source link

Strange bug #346

Open joegillon opened 1 year ago

joegillon commented 1 year ago

usaddress.tag('1000 TRAVER CT 48105')[0] correctly yields => OrderedDict([('AddressNumber', '1000'), ('StreetName', 'TRAVER'), ('StreetNamePostType', 'CT'), ('ZipCode', '48105')])

Change the street, however, to

usaddress.tag('1000 TIBBITS CT 48105')[0] and you get => OrderedDict([('AddressNumber', '1000'), ('PlaceName', 'TIBBITS'), ('StateName', 'CT'), ('ZipCode', '48105')])

Suddenly it thinks it's Tibbits, Connecticut. (And there doesn't even seem to be a Tibbits, Connecticut.)