Lever-age / leverage

Empower citizens of Philadelphia to use campaign finance data when making informed decisions about who they donate to, who they support, and who they vote for.
http://leveragecampaignfinance.org/
20 stars 10 forks source link

Install libpostal #16

Closed ghost closed 8 years ago

ghost commented 8 years ago

libpostal is a C library for parsing/normalizing street addresses around the world

It has bindings for most scripting languages. Normalizing addresses will be really useful for matching donors across records since names and addresses can vary.

Not sure if our VM has enough storage space for all of the data necessary to run the library tho.

ghost commented 8 years ago

https://github.com/openvenues/libpostal#installation

I'm putting the data in /srv/libpostal

ghost commented 8 years ago

The VM does have enough storage (barely), but not enough RAM. I added a swapfile to see if it helps. If not, I'd have to cross-compile this on another machine and then copy it over, which might not be worth the effort.

ghost commented 8 years ago

Alright, the library is built, installed, and passing its tests. Still need to do bindings, but that's an issue for another day. :smile_cat: