note 14245 deleted from function.soundex by jimw

From: Date: Sat, 08 Dec 2001 23:35:54 +0000
Subject: note 14245 deleted from function.soundex by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22347@lists.php.net to get a copy of this message
The comment from fishy is wrong about the exact algorythm: Capitalization of letters are ignored in this algorithm. 1) C should be made aqual to the initial capital letter as indicated. 2) Vowels and H are significant despite they do not generate a numeric code: they are still used to separate sequences of consonant letters. All sequences of vowels or H are equivalent to a single separator 3/4) Before converting the remaining consonnant letters, one should eliminate multiple occurences of the consonnant letters in the same conversion group, provided that they are not separated by a vowel or H: "Lissajous" results in L222 because the first "2" is generated for "ss", the second "2" is generated for "j" because vowels separate "ss" and "j".

« previous php.notes (#22347) next »