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

The purpose of geodb and geonames #660

Open
TarasovKiller opened this issue Apr 10, 2024 · 1 comment
Open

The purpose of geodb and geonames #660

TarasovKiller opened this issue Apr 10, 2024 · 1 comment

Comments

@TarasovKiller
Copy link

Hi, there!

Can you help me understand the purpose of the folders in ./libpostal/data/geodb and ./libpostal/data/geonames. They are empty and I found no clues as to what should be stored in them.

@albarrentine
Copy link
Contributor

It's a defunct module which I don't think even creates any data directories post-1.0 so those might be from an older install. The idea was to do geo-disambiguation/place normalization in-library but in practice it's better to query a database and/or do a spelling correction step first. If I revive it at some point it would be focused around generating keys to lookup in a database. Geographic context is already implicitly used in the parser through the geo/postcode phrase features in the model, which do incorporate GeoNames as one of the data sources among others.

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