|
Maximilien wrote: If you start doing that, there will always be outliers that you will miss. Software development is a constant war with the universe... Developers trying to do better idiot-proof software and the universe trying to do even dumber users...
So far the universe is winning
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Nelek wrote: Software development is a constant war with the universe... Developers trying to do better idiot-proof software and the universe trying to do even dumber users...
You made my day with this phrase!
|
|
|
|
|
You are welcome
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
The universe will always win.
|
|
|
|
|
Fully agree! This is mission impossible. How can one know that "BOS" should be "BOX" and not "BOSS" or "BOSSA NOVA"? Keep it simple and no risk, no fun!
|
|
|
|
|
Maximilien wrote: You really need to parse addresses ?If you start doing that, there will always be outliers that you will miss.
Sadly yes. And outliers are acceptable as we're trying to fill in some form fields that break out address, PO Box, and Rural Routes, and if everything fails, the address just gets put into the Address1 field.
We're aiming for improvement rather than perfection.
Marc
Latest Article - Create a Dockerized Python Fiddle Web App
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
When we put our mail on vacation hold, it validates and 'normalizes' the address, so I do understand what you're working with.
Where I grew up, our address was RR#1; it wasn't until I was in my teens that we had an address with a number and street name.
So.. consider this.. are you only dealing with P.O. and its variants or do you have R.R. addresses as well?
|
|
|
|
|
RR, CR, HC, etc., as well as regular street addresses (as best as those are).
Perfect accuracy is not necessary, just best guess.
Marc
Latest Article - Create a Dockerized Python Fiddle Web App
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Well, then just parse the city & state/province and geocode to the center of that.
|
|
|
|
|
Tim Carmichael wrote: RR#1
Rolls Royce #1?
Homeless billionaire?
[sidebar]
Reminds me of The Bumpkin Billionaires which I used to read as a kid.
|
|
|
|
|
|
I think the counties try to eliminate RR addresses when they implement 911 emergency service.
Ambulance dispatcher: Code red, RR 23, box 99
...
Ambulance navigator: We are on the correct Route... 1 mailbox, 2 mailbox, etc...
|
|
|
|
|
Excellent point. Are there services that allow you to force user input validation of addresses against the USPS databases?
|
|
|
|
|
Marc Clifton wrote: The one with the 'K' is interesting. 'K' is on the opposite side of the keyboard -- I can understand the 'S'.
Maybe this happened to your user?
Just kidding - O and K are nearby, so he probably hit K accidentally along with BO and missed the X
Or maybe he went for BOKS and missed the S, who knows?
Cheers,
विक्रम
"We have already been through this, I am not going to repeat myself." - fat_boy, in a global warming thread
|
|
|
|
|
See, isn't programming fun!?
Jeremy Falcon
|
|
|
|
|
I smell OCR in the mix - hence the BOK, BOS, B0X, etc.
Software Zen: delete this;
|
|
|
|
|
Gary Wheeler wrote: I smell OCR in the mix - hence the BOK, BOS, B0X, etc.
Ah - excellent point!
Marc
Latest Article - Create a Dockerized Python Fiddle Web App
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
|
|
And I thought parsing dates that had been defined as strings or ints or decimals was a nightmare.
Maybe there is a need for an AI to second guess what the user might have meant.
We're philosophical about power outages here. A.C. come, A.C. go.
|
|
|
|
|
Woah... haven't seen you in a long time Chris. How's it going these days?
Cheers,
विक्रम
"We have already been through this, I am not going to repeat myself." - fat_boy, in a global warming thread
|
|
|
|
|
i'm here occasionally. not constantly, as previously.
it goes... on and on and on and on.
|
|
|
|
|
I still remember your old profile pic - with hand on your thoughtful face. Got it somewhere?
Cheers,
विक्रम
"We have already been through this, I am not going to repeat myself." - fat_boy, in a global warming thread
|
|
|
|
|
Vikram A Punathambekar wrote: Got it somewhere
He probably has his face at the same bbody place you have yours.
|
|
|
|
|
Smarty pants
Cheers,
विक्रम
"We have already been through this, I am not going to repeat myself." - fat_boy, in a global warming thread
|
|
|
|