Alternative to Soundex


NYSIIS

(New York State Identification and Intelligence Algorithm)

In 1970 the New York State Identification and Intelligence project headed by Robert L. Taft published the paper "Name Search Techniques". In this paper he compared Soundex with a new phonetic routine (NYSIIS) that was designed through rigorous empirical analysis.
Algorithm:
1. remove all 'S' and 'Z' chars from the end of the surname
2. transcode initial strings
MAC => MC
PF => F
3. Transcode trailing strings as follows,
IX => IC
EX => EC
YE,EE,IE => Y
NT,ND => D
4. transcode 'EV' to 'EF' if not at start of name
5. use first character of name as first character of key
6. remove any 'W' that follows a vowel
7. replace all vowels with 'A'
8. transcode 'GHT' to 'GT'
9. transcode 'DG' to 'G'
10. transcode 'PH' to 'F'
11. if not first character, eliminate all 'H' preceded or followed by a vowel
12. change 'KN' to 'N', else 'K' to 'C'
13. if not first character, change 'M' to 'N'
14. if not first character, change 'Q' to 'G'
15. transcode 'SH' to 'S'
16. transcode 'SCH' to 'S'
17. transcode 'YW' to 'Y'
18. if not first or last character, change 'Y' to 'A'
19. transcode 'WR' to 'R'
20. if not first character, change 'Z' to 'S'
21. transcode terminal 'AY' to 'Y'
22. remove traling vowels
23. collapse all strings of repeated characters
24. if first char of original surname was a vowel, append it to the code

 

Metaphone

Double Metaphone

Caverphone

Q-Gram

NYSIIS