WordNet® is a large lexical database of English. Nouns, verbs, adjectives and adverbs are grouped into sets of cognitive synonyms (synsets), each expressing a distinct concept. Synsets are interlinked by means of conceptual-semantic and lexical relations. The resulting network of meaningfully related words and concepts can be navigated with the browser. WordNet is also freely and publicly available for download. WordNet's structure makes it a useful tool for computational linguistics and natural language processing.
TL;DR - Dictionary and thesaurus for engineers
# install dependency
brew cask install xquartz
# install the CLI
brew install wordnet
# See the options
wn
# Lookup a word overview
wn cool -over
# > Overview of noun cool
# >
# > The noun cool has 2 senses (no senses from tagged texts)
# >
# > 1. cool -- (the quality of being at a refreshingly low temperature; "the cool
# > of early morning")
# > 2. aplomb, assuredness, cool, poise, sang-froid -- (great coolness and
# > composure under strain; "keep your cool")
# > ...
Install wn-helpers.sh
in your shell to get some useful shortcuts.
Requires FZF for fuzzy finding brew install fzf
# fuzzy find spelling of a word
spell
# fuzzy find definition of word in WordNet dictionary
dic
# I know the word, just lookup the definition
dic cool
# fuzzy find the synonymn of a word
syn
# I know the word, just get me similar words
syn cool