|
Why truncate to 4 positions? This is what has bothered me about Soundex. We have business names that we want to encode. This could be such things as "Your City Car Dealer" or "Chain Store #25" I don't want to code on only the first part of the name, i.e. "Santa Rosa Car Dealer" would code on "Santa" only. So I like to compress out the spaces and code on the full word. I also strip off basic words like "The". Is there any reason for keeping it to 4 positions? Chris -----Original Message----- From: Loyd Goodbar [mailto:loyd@blackrobes.net] Basically, you cycle each letter. Always keep the first letter, then look up a number for each consecutive letter, eliminating repeating values. Vowels and w/h/y are ignored. The resulting value is four positions long. Pad up to four positions with zeroes, or truncate to four positions if you created a long soundex.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.