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

Constrain address detection to a certain place #8

Open
cds-amal opened this issue Jul 17, 2015 · 0 comments
Open

Constrain address detection to a certain place #8

cds-amal opened this issue Jul 17, 2015 · 0 comments

Comments

@cds-amal
Copy link
Contributor

Assume a borough when processing an input. This would be useful for processing documents where addresses are presumed known.

$ adparse.py  --borough Manhattan "14 1st Ave" --geo 
{'@context': 'http://schema.org', 'geo': {'latitude': 40.72344697565176, '@type': 'GeoCoordinates', 'longitude': -73.98828573037261}, '@type': 'Place', 'address': {'addressLocality': 'New York City', 'addressRegion': 'NY', 'streetAddress': u'14 1 AVENUE', 'postalCode': u'10009', 'borough': u'MANHATTAN', '@type': 'PostalAddress'}}

For example, minutes from Council Board 3: dealing with Manhattan locations.

Spiegel (Spiegel Inc), 26 1st Ave @ E 2nd St (unenclosed)
Swiss White International LLC, 177 Chrystie St @ Rivington St (op)
Chinese Tuxedo, 5 Doyers St btwn Pell St & Bowery (op)
108 E 4th St (wb)
Hou Yi Spicy Inc, 97 2nd Ave (wb)

These addresses can be parsed if we presume they are from manhattan.

@cds-amal cds-amal changed the title constrain addresses to a certain place constrain address detection to a certain place Jul 17, 2015
@cds-amal cds-amal changed the title constrain address detection to a certain place Constrain address detection to a certain place Jul 17, 2015
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

1 participant