ramanshahdatascience / tshirts

The Bayesian t-shirts: a taste of optimal inventory
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

[street name] [street number] countries #9

Open ramanshah opened 1 year ago

ramanshah commented 1 year ago

I just added Portugal to the address parser. It misparses the address all in Address Line 1 (which was reassembled to a successful-looking recipient address with Shippo) but is technically incorrect.

In this address fragment:

R. do Arco 80-2 Esq.

Address Line 1 should be R. do Arco and Address Line 2 should be 80-2 Esq..

See here for discussion:

https://yourlisbonlife.com/how-portugal-addresses-work-8-essential-tips-to-keep-in-mind/