Add support for Daitch-Mokotoff Soundex in contrib/fuzzystrmatch.
commita290378a3752f787cdc2252889ba513f6fb393db
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 7 Apr 2023 21:31:51 +0000 (7 17:31 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 7 Apr 2023 21:32:26 +0000 (7 17:32 -0400)
treee3cf6aa204d45baa958b9ab95fc0a01f6044bf4b
parent728015a47016dcd734c516e43f326ae491b6a3d2
Add support for Daitch-Mokotoff Soundex in contrib/fuzzystrmatch.

This modernized version of Soundex works significantly better than
the original, particularly for non-English names.

Dag Lem, reviewed by quite a few people along the way

Discussion: https://postgr.es/m/yger1atbgfy.fsf@sid.nimrod.no
13 files changed:
contrib/fuzzystrmatch/.gitignore
contrib/fuzzystrmatch/Makefile
contrib/fuzzystrmatch/daitch_mokotoff.c [new file with mode: 0644]
contrib/fuzzystrmatch/daitch_mokotoff_header.pl [new file with mode: 0755]
contrib/fuzzystrmatch/expected/fuzzystrmatch.out
contrib/fuzzystrmatch/expected/fuzzystrmatch_utf8.out [new file with mode: 0644]
contrib/fuzzystrmatch/expected/fuzzystrmatch_utf8_1.out [new file with mode: 0644]
contrib/fuzzystrmatch/fuzzystrmatch--1.1--1.2.sql [new file with mode: 0644]
contrib/fuzzystrmatch/fuzzystrmatch.control
contrib/fuzzystrmatch/meson.build
contrib/fuzzystrmatch/sql/fuzzystrmatch.sql
contrib/fuzzystrmatch/sql/fuzzystrmatch_utf8.sql [new file with mode: 0644]
doc/src/sgml/fuzzystrmatch.sgml