Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certain Addresses not captured #18

Open
RafaelCenzano opened this issue Mar 3, 2021 · 4 comments
Open

Certain Addresses not captured #18

RafaelCenzano opened this issue Mar 3, 2021 · 4 comments

Comments

@RafaelCenzano
Copy link

Pyap doesn't seem to capture any addresses containing PO Boxes, Unit (number), and Floor (number)/ (number th) Floor.

@vladimarius
Copy link
Owner

Please provide some examples

@RafaelCenzano
Copy link
Author

RafaelCenzano commented Mar 3, 2021

words = """
random text
testing
PO Box 234
Dallas, TX 75229-9647
other text
"""
addresses = pyap.parse(words, country="US")
print(addresses)
[]

@RafaelCenzano
Copy link
Author

RafaelCenzano commented Mar 3, 2021

words = """
more random text
456 20th Ave Floor 10
Dallas TX 75229
other text
"""
addresses = pyap.parse(words, country="US")
print(addresses)
[]

@RafaelCenzano
Copy link
Author

words = """
some text
456 20th Ave Unit 10
Dallas TX 75229
random text
"""
addresses = pyap.parse(words, country="US")
print(addresses)
[]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants