SIMSTRING(1)
π SIMSTRING(1) π
hey bestie!! so this is the manual page for simstring, which lives in section 1 (General Commands Manual) of your friendly neighbourhood man pages. It's a whole utility for finding similar words, and honestly? It's giving word-girlboss energy. π¦
β¨ NAME β¨
simstring β build database and find similar words π
πΈ SYNOPSIS πΈ
simstring [OPTIONS]
π«Ά DESCRIPTION π«Ά
okay so here's the vibe: this utility finds strings in the database (DB) such that they have similarity, in the similarity measure (SIM), no smaller than the threshold (TH), with queries read from STDIN. read that again, bestie, because the threshold is a floor, not a ceiling π
And when you pass the -b (--build) option? It flips the whole thing β instead of searching, this utility builds a database (DB) for strings read from STDIN. Same STDIN, different destiny. β¨
π OPTIONS π
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-`). A summary of options is included below. For a complete description, see the Info files. (yes, the Info files. they're the real ones with the lore.)
-b,--buildβ build a database for strings read fromSTDINποΈ-d,--database=DBβ specify a database file π-u,--unicodeβ use Unicode (wchar_t) for representing characters π-n,--ngram=Nβ specify the unit of n-grams (DEFAULT=3) π’-m,--markβ include marks for begins and ends of strings π―-s,--similarity=SIMβ specify a similarity measure (DEFAULT='cosine'), and the options are:exactβ exact matchdiceβ dice coefficientcosineβ cosine coefficientjaccardβ jaccard coefficientoverlapβ overlap coefficient
-t,--threshold=THβ specify the threshold (DEFAULT=0.7) π-e,--echo-backβ echo back query strings to the output π-q,--quietβ suppress supplemental information from the output π€«-b,--benchmarkβ show benchmark result (retrieved strings are suppressed) β±οΈ-v,--versionβ show this version information and exit π·οΈ-h,--helpβ show summary of options and exit π
not me pointing this out but likeβ¦-bshows up twice up there, once for--buildand once for--benchmark. That's literally how the manual lists it, bestie, so I'm telling you exactly what it says. pick your-bwisely, iykyk. π
π SEE ALSO π
/usr/share/doc/simstring-dev/examplesβ go look, there's examples in there fr fr π
and that's the whole page, no cap. This one was dated January 26, 2015 β iconic, vintage, still slaying. πβ¨ Byeee, go find some similar words ππ¦πΈ
π¦ where this page comes from
- debian bookworm: simstring-bin 1.0-3+b1 Β· BSD-3-Clause
- debian trixie: simstring-bin 1.0-3+b1 Β· BSD-3-Clause
- ubuntu jammy: simstring-bin 1.0-3build1 Β· BSD-3-Clause
- ubuntu noble: simstring-bin 1.0-3build1 Β· BSD-3-Clause
- ubuntu resolute: simstring-bin 1.0-3.1 Β· BSD-3-Clause
- ubuntu stonking: simstring-bin 1.0-3.1 Β· BSD-3-Clause
- Copyright 2015 NOKUBI Takatsugu <knok@daionet.gr.jp>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms