Tcl Library Source Code

soundex - Soundex
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to
or submit via the online form by Aug 20.

[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]

soundex(n) 1.0 tcllib "Soundex"


soundex - Soundex


  • package require Tcl 8.2
  • package require soundex ?1.0?


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.


    % ::soundex::knuth Knuth

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. Please also report any ideas for enhancements you may have for either package and/or documentation.


Hashes, checksums, and encryption