ActiveTcl User Guide

[ Main table Of Contents | Tcllib Table Of Contents | Tcllib Index ]

soundex(n) 1.0 "Soundex"

NAME

soundex - Soundex

TABLE OF CONTENTS

    TABLE OF CONTENTS
    SYNOPSIS
    DESCRIPTION
    EXAMPLES
    KEYWORDS
    COPYRIGHT

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

Copyright © 2004 for compilation: ActiveState