[ Table Of Contents | Index ]

soundex(n) 1.0 "Soundex"

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

KEYWORDS

knuth , soundex , text comparison , text likeness

COPYRIGHT

Copyright © ????, Algorithm: Donald E. Knuth
Copyright © 2003, Documentation: Andreas Kupries <[email protected]>
Copyright © 1998, Tcl port: Evan Rempel <[email protected]>