Skip to main content

Contains sets of english words

Project description

PyPI

english-words-py

Contains sets of English words from svnweb.freebsd.org/csrg/share/dic/. This is up to date with revision 61569 of their words list.

There are four sets in this package:

  • english_words_set: A set of English words containing both upper- and lower-case letters; with punctuation.
  • english_words_lower_set: A set of English words containing lower-case letters; with punctuation.
  • english_words_alpha_set: A set of English words containing both upper- and lower-case letters; with no punctuation.
  • english_words_lower_alpha_set: A set of English words containing lower-case letters; with no punctuation.

where the lower set is the same as the english_words_set with all upper-case letters converted to lower-case letters, and where the alpha set is the same as the english_words_set with all apostrophes (') removed. The lower_alpha set intuitively has both of the rules from the lower set and the alpha set applied.

You can use use these like you would any Python set:

>>> from english_words import english_words_set
>>> 'ghost' in english_words_set
True

Installation

Install this with pip with

pip install english-words

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

english-words-1.0.2.tar.gz (352.1 kB view details)

Uploaded Source

File details

Details for the file english-words-1.0.2.tar.gz.

File metadata

  • Download URL: english-words-1.0.2.tar.gz
  • Upload date:
  • Size: 352.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.15rc1

File hashes

Hashes for english-words-1.0.2.tar.gz
Algorithm Hash digest
SHA256 efadb2bfee821fa1f3cb62daa0f4faa9a1bcaea2d5669da2eb75f43d8e3c3f2f
MD5 667a2d9ab100e522882d0575b1c24868
BLAKE2b-256 841662fb6b7aba040b6e5af2897a79b8ac2b19a2a3c893d5dcfce18c251194fd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page