[AccessD] Re: Soundex Function

Stuart McLachlan stuart at lexacorp.com.pg
Wed Oct 22 17:17:43 CDT 2003


On 22 Oct 2003 at 11:00, Robert L. Stewart wrote:
>      '   Return Value:
>      '       Integer between 0 (not similar) and intLen (very similar) 
> indicating
>      '       the similarity in the Soundex representation of the two strings.
>      ' Note:
>      '   This code is extremely low-tech. Don't laugh! It just compares
>      '   the two Soundex strings until it doesn't find a match, and returns
>      '   the position where the two diverged.
>      '   Remember, two Soundex strings are completely different if the
>      '   original words start with different characters. That is, this
>      '   function always returns 0 unless the two words begin with the
>      '   same character.

Take a look at the "Hamming Distance" function I posted earlier. That 
is a generally accepted measure of the "differentness" of thwo 
strings.

 
-- 
Lexacorp Ltd
http://www.lexacorp.com.pg
Information Technology Consultancy, Software Development,System 
Support.





More information about the AccessD mailing list