dict

command module
v0.0.0-...-bf6e1ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

README

dict

Spell-check and dictionary lookup in the terminal, with Webster's 1913, WordNet, Wiktionary and Wikipedia built in.

Documentation

Overview

Command dict looks up how a word is spelled, and what it means.

It replaces the shell function

dict() { fzf -q "$1" < /usr/share/dict/words; }

with a matcher that also handles the errors fzf cannot -- fzf matches a subsequence, so a transposed pair such as "recieve" finds nothing at all -- and shows the definition of whatever is highlighted.

Directories

Path Synopsis
Package cmd holds the command line, built on cobra.
Package cmd holds the command line, built on cobra.
Package data holds the dictionaries and word list built into the binary.
Package data holds the dictionaries and word list built into the binary.
gen command
Command gen builds data/names.tsv.gz: one-line glosses for the words in the built-in list that no dictionary defines.
Command gen builds data/names.tsv.gz: one-line glosses for the words in the built-in list that no dictionary defines.
Package dictdb reads dictd-format dictionaries: a sorted .index of headwords and a .dict.dz body compressed for random access.
Package dictdb reads dictd-format dictionaries: a sorted .index of headwords and a .dict.dz body compressed for random access.
Package match ranks dictionary words against a possibly-misspelled query.
Package match ranks dictionary words against a possibly-misspelled query.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL