GithubHelp home page GithubHelp logo

englishlanguageapi's Introduction

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.

englishlanguageapi's People

Contributors

guyyatsu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.