mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-19 06:43:23 +02:00
a PostgreSQL user-defined function. The Metaphone system is a method of matching similar sounding names (or any words) to the same code. Metaphone was invented by Lawrence Philips as an improvement to the popular name-hashing routine, Soundex. This metaphone code is from Michael Kuhn, and is detailed at http://aspell.sourceforge.net/metaphone/metaphone-kuhn.txt Joel Burton
4 lines
106 B
MySQL
Executable File
4 lines
106 B
MySQL
Executable File
CREATE FUNCTION text_soundex(text) RETURNS text
|
|
AS '@MODULE_FILENAME@', 'text_metaphone' LANGUAGE 'C';
|
|
|