vocabs

A lightweight online dictionary integration to the command line.


Keywords
cli, english, words, dictionary, vocabulary, command-line-tool, oxford
License
MIT
Install
pip install vocabs==1.0.0

Documentation

📚 vocabs



📚 A lightweight online dictionary integration to the command line. No browsers. No paperbacks.


Setting Up

$ pip install vocabs

Features

📆 Word of the Day!

📈 Trending words!

Directly query words from the command line.

📓 Save words to your local dictionary.

📝 Add notes to saved words.

🎮 Interactive word game to hone your vocabulary skills.

So how is this different from dict ?

dict is the client for DICT, or the Dictionary Server Protocol on Unix-like platforms. It is used to query natural language dictionaries without firing up a bloaty browser, which tremendously slows down your workflow.

Vocab aims to do the same as dict, only with some differences:

  • Less verbose result (since Vocab only uses one source).
  • Can save words to local client dictionary pickle file.
  • Can add notes to a saved word.
  • Includes a interactive word-quiz feature.
  • With colors 🎨!

All in all, Vocab is a great tool for fast word queries with easy-to-read definitions, and a good support for ESL users.

Requirements

and the following libraries are required.

Running

🔥 Launch vocab anywhere on your terminal.

$ vocab

Usage

$ vocab

Options:
    --mode, -m ['query', 'edit', 'dict', 'interactive']
    --file, -f <path to word list>
    --reset, -r
    --count, -c
    --lucky, -l
    --trend, t

Feeling Lucky

📆 Word of the Day.

$ vocab -l

Trending Words

📈 Shows a list of frequently searched words.

$ vocab -t

Query Mode

Directly search and save unknown words from the command line.

$ vocab -m query

Dictionary Mode

📓 Scroll though pages to search for saved words.

$ vocab -m dict

Edit mode

✏️ Edit your save words and add notes.

$ vocab -m edit

Interactive Mode

🎮 Test your vocabulary skills with the interactive mode.

$ vocab -m interactive

Load Word List

📜 Load a list of words from to your local dictionary.

$ vocab -f <path to file>

Count Total Words

🔢 Count number of words saved in your local dictionary.

$ vocab -c

Reset Local Dictionary

$ vocab -r

Help

$ vocab -h

Todo

  • Synonyms / Antonyms.