Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

soundex(n) [osx man page]

soundex(n)							      Soundex								soundex(n)


soundex - Soundex SYNOPSIS
package require Tcl 8.2 package require soundex ?1.0? ::soundex::knuth string _________________________________________________________________ DESCRIPTION
This package provides soundex algorithms which allow the comparison of words based on their phonetic likeness. Currently only an algorithm by Knuth is provided, which is tuned to english names and words. ::soundex::knuth string Computes the soundex code of the input string using Knuth's algorithm and returns it as the result of the command. EXAMPLES
% ::soundex::knuth Knuth K530 BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category soundex of the Tcllib SF Trackers []. Please also report any ideas for enhancements you may have for either package and/or documentation. KEYWORDS
knuth, soundex, text comparison, text likeness CATEGORY
Hashes, checksums, and encryption COPYRIGHT
Copyright (c) ????, Algorithm: Donald E. Knuth Copyright (c) 2003, Documentation: Andreas Kupries <> Copyright (c) 1998, Tcl port: Evan Rempel <> soundex 1.0 soundex(n)

Check Out this Related Man Page

SOUNDEX(3)								 1								SOUNDEX(3)

soundex - Calculate the soundex key of a string

string soundex (string $str) DESCRIPTION
Calculates the soundex key of $str. Soundex keys have the property that words pronounced similarly produce the same soundex key, and can thus be used to simplify searches in databases where you know the pronunciation but not the spelling. This soundex function returns a string 4 characters long, starting with a letter. This particular soundex function is one described by Donald Knuth in "The Art Of Computer Programming, vol. 3: Sorting And Searching", Addison-Wesley (1973), pp. 391-392. PARAMETERS
o $str - The input string. RETURN VALUES
Returns the soundex key as a string. EXAMPLES
Example #1 Soundex Examples <?php soundex("Euler") == soundex("Ellery"); // E460 soundex("Gauss") == soundex("Ghosh"); // G200 soundex("Hilbert") == soundex("Heilbronn"); // H416 soundex("Knuth") == soundex("Kant"); // K530 soundex("Lloyd") == soundex("Ladd"); // L300 soundex("Lukasiewicz") == soundex("Lissajous"); // L222 ?> SEE ALSO
levenshtein(3), metaphone(3), similar_text(3). PHP Documentation Group SOUNDEX(3)
Man Page