skillfed

english-words

Generate sets of english words by combining different word lists

english-words v2.0.2 136.8K downloads/30d#11,388 on PyPI34
Permissive license MIT AGING released

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-words

uv

uv add english-words

poetry

poetry add english-words

Installing 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

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.9

Tags

english word listsword set generationdictionary data pythonenglish words datasetword validation listslinguistic word corpus
word-listsnlp-dataoffline-corpus

More Linguistic packages