4.3 NYSIIS rules. The NYSIIS code is very much like the Russell Soundex system. Its rules thus produce a name code as well, one using a more complicated set of rewrite rules. These are set out in the following table:
1. | truncate to nine letters1 and code each as its upper-case equivalent | ||||||||||||||||||||
2. | at the beginning of the code change the following sequences of letters | ||||||||||||||||||||
| |||||||||||||||||||||
3. | at the end of the word change the following sequences of letters: | ||||||||||||||||||||
| |||||||||||||||||||||
4. | skip first letter, then proceed letter-by-letter replacing sequences as follows: (if the new sequence results in doubling, do not perform the replacement but delete the letter.2) | ||||||||||||||||||||
| |||||||||||||||||||||
5. | at the end of the word delete S, change AY to Y, and delete A | ||||||||||||||||||||
6. | truncate the code to six letters. |
1It appears that this is not a sound policy, since it may interrupt a consonant sequence that would later be changed by rule if kept intact. However, the rules are written so as to retain the same number of letters when changed, except word finally. Presumably in practice, the final truncation to six letters eliminates garbage in any portions garbled by the first truncation.
2I believe that the EVAF would transform to AFAF, and not to AF. In a similar vein, the SSS is not deleted as a resultant double. However, presumably it would be deleted if it followed or preceded an S.
3Actually changing A to A is vacuous.