note 14245 added to function.soundex.php
| From: | php-general at lists dot php dot net | Date: | Mon, 23 Jul 2001 21:49:48 +0000 |
| Subject: | note 14245 added to function.soundex.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15717@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".
http://www.php.net/manual/en/function.soundex.php