fuzzy
fuzzy copied to clipboard
NYSIIS not correctly coding "AY" names
Originally reported by: Christopher Roudiez (Bitbucket: croudiez, GitHub: croudiez)
The key-value pair 'AY': 'Y' is included in the _nysiis_transforms dict. It should be in the _nysiis_suffix_map dict. This bug causes any string with a "Y" following a vowel to be miscoded. For example
-
FLOYD -> FLYD (should be FLAD)
-
SEYMOUR -> SYNAR (should be SANAR)
etc
- Bitbucket: https://bitbucket.org/yougov/fuzzy/issue/8