cambridge
is a terminal version of Cambridge Dictionary, whose source is from https://dictionary.cambridge.org; also supports the Merriam-Webster Dictionary as backup.
camb <word/phrase>
to look up in Cambridge Dictionary by defaultcamb -c <word/phrase>
to look up in Cambridge Dictionary with additional Chinese translationcamb -w <word/phrase>
to look up in Merriam-Webster Dictionarycamb l
to list cached words and phrasesfzf
fzf
not installed, the aforementioned lists have been formatted elaboratelygruvbox
terminal colorschemespip install cambridge
pip uninstall -r requirements.txt -y
rm -rf $HOME/.cache/cambridge
rm -rf $HOME/.cache/fakeua
# within the project
make install
make uninstall
make clean_cache
s
(hidden)For looking up words/phrases in a dictionary or multiple dictionaries.
camb <word/phrase>, <word/phrase>, ... # look up words/phrases in Cambridge Dictionary
camb -w <word/phrase>, <word/phrase>, ... # look up words/phrases in Merriam-Webster Dictionary
camb -c <word/phrase>, <word/phrase>, ... # look up words/phrases in Cambridge with Chinese translation
camb <w/p>, <w/p>, ... -w <w/p>, <w/p>, ... -c <w/p>, <w/p>, ... # concurrent searching
# Additional Options
--debug # look up words/phrases in debug mode
-f # look up words/phrases afresh without using cache
-n # look up words/phrases without showing suggestions if not found
# Special Characters on Terminal
# phrase with "'":
camb "a stone's throw" | camb a stone\'s throw
# phrase with "/":
camb "have your/its moments" | camb have your\/its moments
l
For listing and deleting items in the cache.
camb l # list alphabetically ordered words/phrases you've found before
camb l -t # list words/phrases in reverse chronological order
camb l -r # list 20 words/phrases from the word list randomly
camb l -d # delete one or more words/phrases(separated by ", ") from the list
wod
For displaying 'Word of the Day' in the Merriam Webster Dictionary
camb wod # list today's Word of the Day from Merriam-Webster Dictionary
camb wod -l # list all words of the day
camb -h, --help # show this help message and exit
camb -v, --version # print the current version of the program