Add double metaphone code from Andrew Dunstan. Also change metaphone so that
Joe Conway <mail@joeconway.com>
Add double metaphone code from Andrew Dunstan. Also change metaphone so that an empty input string causes an empty output string to be returned, instead of throwing an ERROR -- per complaint from Aaron Hillegass, and consistent with double metaphone. Fix examples in README.soundex pointed out by James Robinson.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/fuzzystrmatch/dmetaphone.c | added | +1458 −0 |
| contrib/fuzzystrmatch/fuzzystrmatch.c | modified | +6 −0 |
| contrib/fuzzystrmatch/fuzzystrmatch.sql.in | modified | +8 −0 |
| contrib/fuzzystrmatch/Makefile | modified | +4 −2 |
| contrib/fuzzystrmatch/README.fuzzystrmatch | modified | +11 −3 |
| contrib/fuzzystrmatch/README.soundex | modified | +2 −2 |