Re:Usaddress – Python library for parsing unstructured addre...
by rdegges on Friday October 03, 2014 @08:52PM
(#8408410)
This looks great! One thing that I find a tad bit annoying, however, is that the output is a list of tuples -- would be nice to get a dictionary returned instead. I think that makes more intuitive sense, eg:
Re:Usaddress – Python library for parsing unstructured addre...
by cfqycwz on Friday October 03, 2014 @09:30PM
(#8408484)
I imagine a list of tuples is used to preserve the order of the street address--I agree it would probably make much more sense to use an OrderedDict instead.
{"number": "121", "street": "Blah Street", ...}