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. |
Click to show internal directories.
Click to hide internal directories.