vladimarius / pyap

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

"and" causing issues #20

Open Michael-Danese opened 3 years ago

Michael-Danese commented 3 years ago

Using pyap to parse addresses apart from names. Thank you for the work done as it is an amazing package. Usually works great but when two names prepend the address it seems to falsely believe that the "and ExampleName" is part of the street.

Input: "ExampleName and ExampleName 111 Rock Rd Pittsboro, NC 1111"

Interestingly, using the "&" symbol seems to not cause this issue and works as expected.