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

Incorrect parsed address #326

Open stef405 opened 2 years ago

stef405 commented 2 years ago

With address '393 E RIVERSIDE DR SUITE 2B DEVAN MICHAEL THOMAS ST GEORGE UT 84790', the usaddress tag result is

(OrderedDict([('AddressNumber', '393'), ('StreetNamePreDirectional', 'E'), ('StreetName', 'RIVERSIDE'), ('StreetNamePostType', 'DR'), ('OccupancyType', 'SUITE'), ('OccupancyIdentifier', '2B'), ('PlaceName', 'DEVAN MICHAEL THOMAS ST GEORGE'), ('StateName', 'UT'), ('ZipCode', '84790')]), 'Street Address').

The recipient should be DEVAN MICHAEL THOMAS and the place name should be ST GEORGE.