soundex(n)
π soundex(n) β the Soundex manual, but make it cute π
okay bestie, welcome to soundex, section n of the manual. yes, that's the same soundex as the package name, it's giving very "the name is the name" energy and honestly? iconic. π
β¨ NAME β¨
soundex β Soundex. that's it. that's the name. short, sweet, slays. π
πΈ SYNOPSIS πΈ
package require Tcl 8.5 9
package require soundex ?1.1?
::soundex::knuth string
so you need Tcl 8.5 through 9 (fr fr, the whole range), then you pull in soundex β and the ?1.1? means the version is optional, it'll take 1.1 if you ask nicely, no cap. π«Ά
π¦ DESCRIPTION π¦
okay so this package hands you soundex algorithms, which let you compare words based on their phonetic likeness β like, do they sound the same, not do they look the same. vibe check but for pronunciation. π§β¨
rn, only one algorithm is provided: one by Knuth, and it's tuned specifically for english names and words. so if you're trying to soundex your way through, idk, Klingon, that's not the assignment. π
π ::soundex::knuth string
this command computes the soundex code of the input string using Knuth's algorithm and returns it as the result of the command. it just... gives it to you. main character energy, no drama. π
β EXAMPLES β
watch it go:
% ::soundex::knuth Knuth
K530
yes, Knuth maps to K530. self-referential, deeply slay, obsessed. π
π©· BUGS, IDEAS, FEEDBACK π©·
ngl bestie, this document and the package it describes will undoubtedly contain bugs and other problems. every manpage says this and every manpage is right. π
please report such in the category soundex of the Tcllib Trackers at http://core.tcl.tk/tcllib/reportlist. and while you're there β please also report any ideas for enhancements you may have for either the package and/or the documentation. we want them, we love them, bring them. π
when proposing code changes, please provide unified diffs, i.e the output of diff -u. that's the format. don't freehand it. π
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. yes, the left-most one. that one. π
π KEYWORDS π
knuth, soundex, text comparison, text likeness
π CATEGORY π
Hashes, checksums, and encryption β yes, our phonetic little guy lives in the cryptography-adjacent neighborhood. it's giving glow-up. πβ¨
π 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>
note the ???? on the algorithm year β even the copyright line has mystery. we love an enigma. πβ¨
and that's the whole page, bestie!! π«Ά this was tcllib version 1.1, dated soundex(n) β mwah, go soundex something phonetically, ily, bye!! ππΈπ¦π
π¦ where this page comes from
- fedora 43: tcllib 2.0-3.fc43 Β· TCL
- fedora 44: tcllib 2.0-4.fc44 Β· TCL
- nixos 26.05: tcllib 2.0
- nixpkgs unstable: tcllib 2.0
- Copyright (c) 2003, Documentation: Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
- Copyright (c) 1998, Tcl port: Evan Rempel <erempel@uvic\&.ca>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms