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/dict/. 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.1.0.tar.gz (1.1 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: english-words-1.1.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

File hashes

Hashes for english-words-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b72edecb98ec66da706c89a72443dffc051a103d0394ff2e743dc24b1c8485f1
MD5 af28f603f4f9410c9091bc1e328e4343
BLAKE2b-256 10a48ec6e57df1e6ff8ded88de1be1a0aa41c10c6acc2d8df993072e78472657

See more details on using hashes here.

Supported by

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