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

libpostal integration #9

Open
klokan opened this issue May 27, 2016 · 4 comments
Open

libpostal integration #9

klokan opened this issue May 27, 2016 · 4 comments
Assignees
Milestone

Comments

@klokan
Copy link
Member

klokan commented May 27, 2016

We may consider for future version to integrate libpostal into indexing step as well as into the search interface - to work with the normalised addresses and accept human input in various languages better.

https://github.com/geometalab/OSMNames/wiki/libpostal-overview

https://github.com/openvenues/libpostal

in our case integrated via python binding:
https://github.com/openvenues/pypostal

@MartinMikita MartinMikita self-assigned this Jul 14, 2016
@klokan
Copy link
Member Author

klokan commented Jul 14, 2016

Target use: remove from query the house number.

MartinMikita added a commit that referenced this issue Jul 20, 2016
MartinMikita pushed a commit that referenced this issue Jul 21, 2016
@MartinMikita
Copy link
Member

Libpostal is C library, which requires 2.1 GB data for parsing address.
Loading python wrapper (import libpostal) uses ~1.4 GB RAM with this data.

We have decided to not use this library directly, but only remove numbers from the query, if original query will not succeed.

libpostal changes are in the separate branch libpostal

@klokan
Copy link
Member Author

klokan commented Jan 17, 2017

Reopening - for implementation of the search in postal addresses.

@klokan klokan reopened this Jan 17, 2017
@klokan
Copy link
Member Author

klokan commented Apr 26, 2017

There is libpostal 1.0:
https://medium.com/@albarrentine/statistical-nlp-on-openstreetmap-part-2-80405b988718
https://github.com/openvenues/libpostal

It has many new features and very good coverage now.
They claim it can run on 1GB or RAM.

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