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 from STDIN πŸ—οΈ
  • -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 match
    • dice β€” dice coefficient
    • cosine β€” cosine coefficient
    • jaccard β€” jaccard coefficient
    • overlap β€” 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… -b shows up twice up there, once for --build and once for --benchmark. That's literally how the manual lists it, bestie, so I'm telling you exactly what it says. pick your -b wisely, 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