CMDictionary
CMDictionary copied to clipboard
A light, pure and convenient command-line dictionary that helps you focus on memorizing words.
CMDictionary
A light, pure and convenient commandline dictionary that helps you focus on memorizing words.
Features
Detailed Help Information

Detailed Explanations and Examples

Track Your Recently-Memorized Words

Auto-Completion (Experiment)
Note: The suggestions are ranked by word frequencies. Unfortunately, windows system is not compatible with python tab completion. See details here.
Note
- You may need to use Windows Terminal to see the emojis.
- You need internet connection to get the meanings of words at the first time.
OS
- Linux
- Windows
- MacOS
Install
python setup.py install
Note: Do NOT use pip install cmdict because there is a package called cmdict written by others in the pip repo. By doing this you will download the wrong package. I am still looking for workaround for this.
Run
python -m cmdict
Customize Your Vocab List
Just replace cmdict/data/words.txt with your own vocab list. The default one is derekchuank/high-frequency-vocabulary
TODO List
- [x] Add cache to reduce requests.
- [ ] Add args to toggle emoji output.
- [x] Add vocabulary auto-completion support.
- [x] Release python module.
- [ ] Give a prompt to enforce saving OOV words. e.g.
xxxxx seems not an English word. Do you want to save xxxxx ? y/[n]