US Street address parser
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.document
.gitignore
LICENSE
README.rdoc
Rakefile
VERSION
street_address.gemspec

README.rdoc

A port of the GEO::StreetAddress::US Perl Library. search.cpan.org/~sderle/Geo-StreetAddress-US-0.99/US.pm

Use it

>> StreetAddress.parse(“123 Fake St. South Chicago, IL, 90210”)

> {“city”=>“Chicago”, “number”=>“123”, “zip”=>“90210”, “prefix”=>“”, “street”=>“Fake”, “type”=>“St”, “suffix”=>“S”, “state”=>“IL”}

Please feel free to do whatever you'd like with it, and if you find it useful let me know.

Cheers, Jeremy Hubert jeremyhubert.com