Contains sets of english words
Project description
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.
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.1.tar.gz
(351.9 kB
view hashes)