473,396 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Parse Address

Hi all,

I'm about to start writing a routine to parse "standard" U.S. Addresses (if
there is such a thing...) Before I jump off into this, I was just wondering
if maybe someone out there had already seen some similar logic already
implemented somewhere? Here's basically what I'm trying to do:

123 Sesame Street NW

In this example, I want to parse out the Street Address as follows:

123 = House Number
Sesame = Street Name
Street = Street Type
NW = Street Directional

I know there are a lot more variations than this in addresses, which is why
this is so much fun right? So if anyone knows of any type of address
parsing mechanism already done out there, it'd be much appreciated.

Thx,
Mike C.
Nov 21 '05 #1
5 9081
There are quite a number of these already out there. However, all that I can
think of at the moment are integrated into full geo-coding applications,
which can be quite pricey depending upon your needs.

What type of addresses are you looking to parse?
Meaning USPS mailing addresses or Physical street addresses?
Why you ask? Well, on the surface you would think they are the same thing.
However, in reality they can be quite different.
Do you need to support building and or units? Such as "123 B1 Sesame Street
NW".
Do you need the standardized or just parsed? "123 Sesame ST NW". Or "123
North Main Street East" = "123 N Main ST E"
Do you need to parse addresses for the far north US, where they might use
Canadian style Alphanumeric addresses?
How discrete are your addresses? Meaning how many different fields are
discrete, such as Street Number, Street Name, City, State, Zipcode. Just how
many fields need to be constructed?

As you can guess, what might seem trivial at first can become quite
complicated.
I have an extensive set of address management utilities. I am currently
polishing off version 3 of a framework that is used extensively in utility
companies. However, it is written in VB6 and has some other unique
dependencies. What I have might not be a fit for you. Not that I am
necessarily pitching my product. There might be a much better match out
there depending upon your needs.

Gerald
"Michael C#" <xy*@yomomma.com> wrote in message
news:u2**************@TK2MSFTNGP12.phx.gbl...
Hi all,

I'm about to start writing a routine to parse "standard" U.S. Addresses (if there is such a thing...) Before I jump off into this, I was just wondering if maybe someone out there had already seen some similar logic already
implemented somewhere? Here's basically what I'm trying to do:

123 Sesame Street NW

In this example, I want to parse out the Street Address as follows:

123 = House Number
Sesame = Street Name
Street = Street Type
NW = Street Directional

I know there are a lot more variations than this in addresses, which is why this is so much fun right? So if anyone knows of any type of address
parsing mechanism already done out there, it'd be much appreciated.

Thx,
Mike C.

Nov 21 '05 #2
There are quite a number of these already out there. However, all that I can
think of at the moment are integrated into full geo-coding applications,
which can be quite pricey depending upon your needs.

What type of addresses are you looking to parse?
Meaning USPS mailing addresses or Physical street addresses?
Why you ask? Well, on the surface you would think they are the same thing.
However, in reality they can be quite different.
Do you need to support building and or units? Such as "123 B1 Sesame Street
NW".
Do you need the standardized or just parsed? "123 Sesame ST NW". Or "123
North Main Street East" = "123 N Main ST E"
Do you need to parse addresses for the far north US, where they might use
Canadian style Alphanumeric addresses?
How discrete are your addresses? Meaning how many different fields are
discrete, such as Street Number, Street Name, City, State, Zipcode. Just how
many fields need to be constructed?

As you can guess, what might seem trivial at first can become quite
complicated.
I have an extensive set of address management utilities. I am currently
polishing off version 3 of a framework that is used extensively in utility
companies. However, it is written in VB6 and has some other unique
dependencies. What I have might not be a fit for you. Not that I am
necessarily pitching my product. There might be a much better match out
there depending upon your needs.

Gerald
"Michael C#" <xy*@yomomma.com> wrote in message
news:u2**************@TK2MSFTNGP12.phx.gbl...
Hi all,

I'm about to start writing a routine to parse "standard" U.S. Addresses (if there is such a thing...) Before I jump off into this, I was just wondering if maybe someone out there had already seen some similar logic already
implemented somewhere? Here's basically what I'm trying to do:

123 Sesame Street NW

In this example, I want to parse out the Street Address as follows:

123 = House Number
Sesame = Street Name
Street = Street Type
NW = Street Directional

I know there are a lot more variations than this in addresses, which is why this is so much fun right? So if anyone knows of any type of address
parsing mechanism already done out there, it'd be much appreciated.

Thx,
Mike C.

Nov 21 '05 #3
Thanks Gerald. I'll e-mail you directly.

Thanks,
Mike C.

"Gerald Hernandez" <Cablewizard@sp*********@Yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
There are quite a number of these already out there. However, all that I
can
think of at the moment are integrated into full geo-coding applications,
which can be quite pricey depending upon your needs.

What type of addresses are you looking to parse?
Meaning USPS mailing addresses or Physical street addresses?
Why you ask? Well, on the surface you would think they are the same thing.
However, in reality they can be quite different.
Do you need to support building and or units? Such as "123 B1 Sesame
Street
NW".
Do you need the standardized or just parsed? "123 Sesame ST NW". Or "123
North Main Street East" = "123 N Main ST E"
Do you need to parse addresses for the far north US, where they might use
Canadian style Alphanumeric addresses?
How discrete are your addresses? Meaning how many different fields are
discrete, such as Street Number, Street Name, City, State, Zipcode. Just
how
many fields need to be constructed?

As you can guess, what might seem trivial at first can become quite
complicated.
I have an extensive set of address management utilities. I am currently
polishing off version 3 of a framework that is used extensively in utility
companies. However, it is written in VB6 and has some other unique
dependencies. What I have might not be a fit for you. Not that I am
necessarily pitching my product. There might be a much better match out
there depending upon your needs.

Gerald
"Michael C#" <xy*@yomomma.com> wrote in message
news:u2**************@TK2MSFTNGP12.phx.gbl...
Hi all,

I'm about to start writing a routine to parse "standard" U.S. Addresses

(if
there is such a thing...) Before I jump off into this, I was just

wondering
if maybe someone out there had already seen some similar logic already
implemented somewhere? Here's basically what I'm trying to do:

123 Sesame Street NW

In this example, I want to parse out the Street Address as follows:

123 = House Number
Sesame = Street Name
Street = Street Type
NW = Street Directional

I know there are a lot more variations than this in addresses, which is

why
this is so much fun right? So if anyone knows of any type of address
parsing mechanism already done out there, it'd be much appreciated.

Thx,
Mike C.


Nov 21 '05 #4
Gerald,

If you are still monitoring this thread, please reply to me. I'm also interested in an address parser written for VB6.

Thanks!
J Miller
May 4 '06 #5
Hi there!

Were you success in finding a good parser? I'd also like to find one.

Thanks,

Suzanne
May 19 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Martoni | last post by:
I need to parse a string with an embedded email address. The string always has the format NAME (name@domain) SOMETEXT. What I need to get is the email address as name@domain. I came up with this...
2
by: Salim | last post by:
Hi people, keep getting this errorParse error: parse error, unexpected T_STRING in order_fns.php line 91. the code is below for the file and I've indicated line 91 <?php function...
0
by: Michael C# | last post by:
Hi all, I'm about to start writing a routine to parse "standard" U.S. Addresses (if there is such a thing...) Before I jump off into this, I was just wondering if maybe someone out there had...
14
by: NetworkElf | last post by:
Hi all, Does anyone have some code that shows an example of how to loop through a range of IP addresses? I'm using text boxes to get a start and end value for the range. I was thinking about...
11
by: Peter Afonin | last post by:
Hello, I need to parse a string that returns the domain DNS records and to put this data into a DataTable. I don't have much experience in parsing strings, so I'm not aware of the efficient way...
5
by: pranyht | last post by:
for example if user enters Passing the parseAddress function "A. P. Croll & Son 2299 Lewes-Georgetown Hwy, Georgetown, DE 19947" returns: 2299 Lewes-Georgetown Hwy A. P. Croll & Son Georgetown...
1
by: pranyht | last post by:
given an address in a string, i need to parse the address from the string and return the structure Address. Signature: Address parseAddress(String address) Input: String with address(e.g....
5
by: vultren | last post by:
Parse error: syntax error, unexpected $end in I keep getting that, I have no clue where to fix it. Any help would be VERY APPRECIATED! <?php if(isset($_POST)) { // EDIT THE 2 LINES...
1
by: vertigo262 | last post by:
I want to parse an address from a text field. for example textbox data = 123 test street, mountain view, CA 91302 Dim address = Address.text parse(address) to
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.