Contains sets of english words
Project description
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
File details
Details for the file english-words-1.0.4.tar.gz
.
File metadata
- Download URL: english-words-1.0.4.tar.gz
- Upload date:
- Size: 353.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb9522343339fb4b3387ee7e7dbd700feb831769dfd6b24ba740146e64b19661 |
|
MD5 | e64e6676e8e6166bb0998388ce221ad7 |
|
BLAKE2b-256 | 5638fb7f3a4af7c803cf52842b949ef542dc15a7b74bee38fb585500e51d703b |