Scroll to navigation

soundex(n) Soundex soundex(n)


NAME

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 Trackers [http://core.tcl.tk/tcllib/reportlist]. Please also report any ideas for enhancements you may have for either package and/or documentation.

When proposing code changes, please provide unified diffs, i.e the output of diff -u.

Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar.

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 <andreas_kupries@users.sourceforge.net>
Copyright (c) 1998, Tcl port: Evan Rempel <erempel@uvic.ca>
1.0 tcllib