Skip to main content

Tool to get a large collection of words.

Project description

Get large collection of words from books.

Usage

  1. Make a directory called books/
  2. Put .txt files in it. Presumably large ones, i.e. books, which are easily available from Gutenberg.
  3. Run words.py and wait a moment.
  4. Receive dictionary.txt.

Description

words.py simply reads each of the books and puts each of the words in a book filtering any that obviously aren’t words (anything containing numbers or punctuation).

NOTE: This method may generate non-words which look like words. It is worth revieiwng the lexicon before any serious use.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

words-0.0.1.tar.gz (2.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page