• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Matching Postal Addresses
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matching Postal Addresses


  • Subject: Re: Matching Postal Addresses
  • From: p3consulting <email@hidden>
  • Date: Wed, 12 Nov 2003 11:35:21 +0100

On 12 nov. 2003, at 10:25, Brian Hannan wrote:

At my last job, I worked at a place that did geo location stuff. One of the things was geo coding -- taking an address in natural human language and getting the latitude and longitude for that location. It can get pretty involved. However, without investing lots of time you can get by with some good heuristics. I'd say go for normalization of words that can have more than one format. For example, in US English "street" can have the forms "st", "st.", "street" and nothing, such as just "Elm". Like was suggested, flatten everything to upper and lower case. Then attempt to normalize words, so as input you'll have:

"Elm St."

and as output you'd get

"elm street"


But write your normalization code in way that you avoid
St James st.
to becomes
street james street
instead of
saint james street
!





Pascal Pochet
P3 Consulting
email@hidden
http://www.p3-consulting.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Matching Postal Addresses (From: p3consulting <email@hidden>)
 >Re: Matching Postal Addresses (From: Brian Hannan <email@hidden>)

  • Prev by Date: A CFMessagePort communication disruption can mean only one thing...
  • Next by Date: Re: Matching Postal Addresses
  • Previous by thread: Re: Matching Postal Addresses
  • Next by thread: Re: Matching Postal Addresses
  • Index(es):
    • Date
    • Thread