vladimarius / pyap

Python address detector and parser
MIT License
200 stars 60 forks source link

Matching condominium units for US addresses #16

Open liebscher opened 3 years ago

liebscher commented 3 years ago

Hi, thanks for the fantastic package. I'm finding it really useful.

Occasionally, some addresses aren't identified in natural text and I've deduced this to their use of "Unit \d+" to denote the unit of a condo. E.g.:

5625 NW 109th Ave, Unit 65, Doral, FL, 33178 451 Ives Dairy Road, Unit 204-1, Miami, Florida 33179

A search on the repo and I don't know if this variant has been mentioned before. If there's a reason this isn't implemented, sorry for missing that. If this is a possible improvement, I'd be happy to make the PR just let me know.

Until then, I might just replace all "Unit" with "Room" or one of the other current variants. Thanks!