A CLI tool for looking up the meanings of things.
Reason this release was yanked:
I messed up and forgot to make the internal imports modular lol
Project description
Lab-93 Dictionary API & Linguistic Analysis Tools
This package offers a simple command-line command for scraping the definition of a word from dictionary.com
and returning it to the user.
It also provides a mechanism for building your own in-house dictionary from a list of over 50,000 words.
Installation
The module is available on Pip, to install to a virtual environment type:
pip install EnglishLanguageAPI
Single-Case Usage
To look up the definition of a single word, use the --word={$WORD}
flag, where $WORD is the word to search for.
EnglishLanguageAPI --word={word}
Dictionary Database Builder
The library also includes a system for building an offline dictionary by automating the process of selecting random words to look up and then writing the word and its definition to a sqlite3 database file.
--database
: Write the definition to as many random words as time allows for.--resume
: Keep track of what words haven't been entered into the database.--disposable-wordlist
: A consumable copy of the 50000-wordlist.txt file, for keeping track of what still needs to be defined.--wordlist
: Filepath to the local hardcopy of the 50000-wordlist.txt file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for EnglishLanguageAPI-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 502fc75823fa9e0fc89c895cc0e10624d791fc066d2cb0be778316291a0bf92c |
|
MD5 | ba454a474aba695681d8a3f449f85326 |
|
BLAKE2b-256 | b1e92c6babafc87c24f011d7919a733e53b943acf7485219f2c35b975e97d359 |