english-words
Generate sets of english words by combining different word lists
What it is and what it does
english-words is a Python package that bundles pre-processed English word lists (GCIDE and web2) and exposes them as in-memory sets. You call `get_english_words_set()` with a list of source identifiers and optional flags to retrieve a set of words filtered by case (lowercase conversion) and character type (alphanumeric-only). The word lists are pre-processed at package build time, so filtering operations run at constant speed regardless of which flags you use.
The package is designed for tasks like word validation, spell-checking, or linguistic analysis where you need a reliable, offline English word corpus. It trades disk space (~20MB) for simplicity: all data is bundled and ready to use without external API calls or downloads. The main constraint is that it includes only two word lists (GCIDE and web2), each with different capitalization conventions, so combining them requires care.
Use it for:
- Validate user input against a known English word list in spell-checkers or word games.
- Generate word lists for linguistic analysis, NLP training, or text-processing pipelines.
- Filter or deduplicate words in data processing by checking membership against a curated set.
- Build offline word-lookup tools that don't require network access or external services.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides curated sets of English words from multiple word lists (GCIDE and web2) that can be filtered by case and alphanumeric characters.
Yes, if you need an offline English word corpus and can tolerate the ~20MB footprint and aging maintenance. The package is stable (MIT licensed, no vulnerabilities, low install friction) and suitable for spell-checking, word games, or linguistic tasks. However, if you need active development, Unicode normalization, or additional word lists, consider whether a maintained alternative or a custom word source would better fit your needs.
Install
english-words on PyPI
pip
pip install english-wordsuv
uv add english-wordspoetry
poetry add english-wordsInstalling english-words
Before you install
Low friction to install as a pure Python wheel with no runtime dependencies. Maintenance is aging—last release was a year ago and the repository shows minimal recent activity, though it remains archived and functional.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install english-words
from english_words import get_english_words_set
web2_lower = get_english_words_set(['web2'], lower=True)
if 'hello' in web2_lower:
print('Valid word')
Verify before relying
- Whether the ~20MB package size remains acceptable for typical use cases or if lazy-loading of word lists is planned.
- Current state of Unicode character handling in GCIDE entries (the description notes unprocessed Unicode like `<ae/` instead of `æ`).
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | aging — 365 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 136,790/month — #11,388 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: english_words-2.0.2-py3-none-any.whl
Tags
More Linguistic packages
Detects and normalizes text encoding from…
permissive · top 100 on PyPI
tiktokentiktoken is a fast BPE tokenizer that converts…
permissive · top 1,000 on PyPI
chardetDetects character encoding and language in byte…
permissive · top 1,000 on PyPI
text-unidecodeConverts Unicode text to ASCII by…
copyleft · top 1,000 on PyPI
larkLark is a parsing library that builds abstract…
permissive · top 1,000 on PyPI
tree-sitterPython bindings to the tree-sitter parsing…
permissive · top 1,000 on PyPI
wonderwordsGenerates random English words and sentences…
permissive · top 15,000 on PyPI
wordfreqwordfreq looks up word frequencies across over…
permissive · top 5,000 on PyPI
friendlywordsGenerates random human-readable strings from…
permissive · top 15,000 on PyPI
wordsegmentSplits unsegmented English text into individual…
permissive · top 15,000 on PyPI
wordninjaSplits concatenated words into their…
unclear · top 5,000 on PyPI
syllapyCounts syllables in English words, returning an…
permissive · top 5,000 on PyPI
titlecaseConverts text to title case with intelligent…
permissive · top 15,000 on PyPI
stop-wordsProvides curated stop-word lists for multiple…
permissive · top 15,000 on PyPI
snowballstemmerProvides stemming algorithms for 34 languages,…
permissive · top 1,000 on PyPI
codespellCodespell finds and fixes common misspellings…
copyleft · top 5,000 on PyPI