473,804 Members | 3,532 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 9120
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.co m> wrote in message
news:u2******** ******@TK2MSFTN GP12.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.co m> wrote in message
news:u2******** ******@TK2MSFTN GP12.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******** **********@TK2M SFTNGP12.phx.gb l...
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.co m> wrote in message
news:u2******** ******@TK2MSFTN GP12.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
PyroPhytr
1 New Member
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
Suzanne
1 New Member
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
4554
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 (I know it's broken, but it's a first start): <?php function ParseTicketEmail($ticket) {
2
2887
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 process_card($card_details) { // connect to payment gateway or // use gpg to encrypt and mail or // store in DB if you really want to
0
387
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 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:
14
6023
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 using 4 nested for-next loops, but I seem to be having trouble working out the logic to validate the octets in the beginning and ending address so the range works correctly. i.e. 172.16.1.1/172.20.1.1 should loop 172-172,16-20,1-254,1-254...
11
2354
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 how to do this. I've found some examples of CSV parser classes, but not sure how to use them in my case. Here is an example of the string: RRs\nsubname: @;priority: 5;address: mail.domainname.net.;rectype:
5
4128
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 DE 19947 i have thought of the following algorithm but i am having trouble implementing it...can anyone help me write the code? i know C and a bit of C++, so would prefer if the code was in these languages..
1
5713
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. “Lunkad Tower, 6th floor, \r\n Viman Nagar, \r\n Pune 411014") Output: The structure Address public class Address { public string Street {get;set;}; // Lunkad Tower, 6th floor public string Locality {get;set;}; // Viman Nagar
5
4222
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 BELOW AS REQUIRED
1
2292
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
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9582
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10335
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10082
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9157
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7621
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6854
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5652
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3821
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.