News for hackers. Stuff that matters.
Re:Ask HN: What's a good US address parsing library? by SingAlong on Sunday November 20, 2016 @04:12AM (#12998014)
My coworkers recently setup an internal API using a Flask app for US address parsing. They used libpostal after comparing it with usaddress and address (both are Python libraries).

libpostal had the best results and good abbreviation parsing ("St" for street, "blvd" for Boulevard, etc). We use this to check if two address strings are equal, so you can imagine how much abbreviations are important to us. The US postal department website has a list of postal abbreviations but writing our own address parser with this is not a simple task.

libpostal is a few gigs of download and will take about 2gb ram to setup. But worth it.

Re:Ask HN: What's a good US address parsing library? by traviswingo on Monday November 21, 2016 @01:18PM (#13007629)
Yeah. I've tested it before and it looks very promising, but I'm not sure the overhead is necessary for my use case. I'll need to run some tests against all options and figure out where the equilibrium lies between cost (size, memory, price, etc.) and functionality/ux.