openvenues / libpostal

A C library for parsing/normalizing street addresses around the world. Powered by statistical NLP and open geo data.
MIT License
4.08k stars 421 forks source link

How to install this library to xampp? #157

Closed imsocb closed 7 years ago

imsocb commented 7 years ago

Hi, rather new to this library and php read the installation guide but did not find any relevant information on whether I can install this library onto window based xampp, before I install the php binding?

But before, I proceed with the installation can this library identify and extract any address from a string of text input? This library seems to be able to do that? Thanks for any help rendered.

albarrentine commented 7 years ago

The answer to both questions is no, unfortunately. We support Mac and Linux - Windows is not currently a priority but happy to accept patches.

The second question seems to be about address extraction, which was covered in this issue. Libpostal can parse string addresses and other geocoder input (the kind of text people type into Google Maps and similar products) into components like house_number, road, city, etc. in many languages (please see the README for examples). Extracting addresses out of text (pulling the "123 Main St" out of something like "We are located at 123 Main St") is not currently a solved problem, mostly because deriving a suitably large training corpus the way libpostal does with OpenStreetMap is considerably more difficult.