Those seem pretty good to use for lookup table type stuff on a country by country basis, but do you know of anything that does actual address parsing for a particular country? Like that big nasty regex for a vaild email address, only for mailing addresses instead. | [reply] |
Sorry, I don't know of such a module, and may I say that if you are looking for something that will always correctly parse all addresses for a particular country, you are probably relieving yourself while facing into the breeze. That being said, I think that what you are doing is not very different from a practice called "address correction" in which the postal service corrects the wording of your address to conform to country standards. In the U.S., the software leader in this space is Group One. Also, the postal service should have well publicized regs for this. I wish you luck as this sounds like a thankless task!
I like chicken.
| [reply] |