Skip to content
/ vocabs Public

๐Ÿ“š A lightweight online dictionary integration to the command line. No browsers. No paperbacks.

Notifications You must be signed in to change notification settings

bchao1/vocabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

62 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š 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.

About

๐Ÿ“š A lightweight online dictionary integration to the command line. No browsers. No paperbacks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages