All source files

data/scowl/SOURCE.md

Download raw file

# SCOWL source and modifications

- Upstream: Kevin Atkinson and contributors, SCOWL and Friends.
- Release: `hunspell-en_US-2020.12.07.zip`, published 2020-12-08.
- Download: https://downloads.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip
- License: preserved verbatim in `Copyright`; upstream license page: https://github.com/en-wl/wordlist/blob/v1/scowl/Copyright
- Extracted input: `en_US.dic` from that release.

Local processing for `english-words.95`:

1. Remove the Hunspell entry-count first line.
2. Remove `/...` affix annotations from each entry.
3. Trim, lowercase, sort and save one entry per line.

The filename records the original SCOWL size-95 inspiration, but this is a derived en_US release word list, not a byte-for-byte copy of an upstream file with that name.

`src/word-data.mjs` separately selects 90 common five-letter answers and writes original English/Chinese hints. `src/five-letter-words.mjs` is generated from the same release by `scripts/generate-five-letter-wordlist.mjs`: only entries that are exactly five lowercase ASCII letters once affix annotations are stripped are retained, which excludes capitalized proper names and abbreviations. That yields 3,236 five-letter candidates; the offensive-word denylist removes 26 of them, leaving 3,210 entries in the generated artifact and 3,213 in the runtime `ALLOWED_WORDS` union (which adds three extra practice guesses that are not in SCOWL). The 90 reviewed answers remain the only daily solutions.

## Offensive-word filtering (local modification of SCOWL data)

`src/five-letter-words.mjs` is not the raw SCOWL five-letter set: every entry listed in `OFFENSIVE_WORDS` (`src/word-data.mjs`) is removed from it. This is a deliberate modification of the upstream data, recorded here so the change is auditable.

The denylist is enforced on both paths:

1. `scripts/generate-five-letter-wordlist.mjs` filters candidates through `buildWordlist()` before writing `src/five-letter-words.mjs`, so the generated artifact never carries a denylisted word.
2. `src/word-data.mjs` builds `ALLOWED_WORDS` through `buildAllowedWords()`, which filters every source (SCOWL list, scheduled answers, extra guesses) as a runtime safety net, so a stale or hand-edited artifact still cannot admit a denylisted guess.

The list has 48 entries: 28 slur-class terms and 20 explicit sexual/reproductive terms. Every entry is exactly five lowercase ASCII letters, so it can only ever match a legal guess.

Scope is deliberately conservative — only clear-cut cases:

- Well-established slurs aimed at race, ethnicity, religion, sexual orientation or gender: `bitch`, `chink`, `coons`, `cunts`, `dagos`, `darky`, `dykes`, `faggy`, `fagot`, `gooks`, `hebes`, `honky`, `hussy`, `hymie`, `kikes`, `kraut`, `limey`, `negro`, `nigga`, `pakis`, `pommy`, `poofs`, `sissy`, `sluts`, `spics`, `squaw`, `twats`, `whore`.
- Explicit sexual or reproductive vocabulary and sexual violence: `cocks`, `dicks`, `dildo`, `fucks`, `glans`, `labia`, `milfs`, `penis`, `porno`, `pubes`, `pubic`, `pubis`, `pussy`, `raped`, `rapes`, `semen`, `sperm`, `titty`, `vulva`, `wanks`.

### Reviewed residuals and boundary decisions

Every word below was inspected against the artifact and explicitly decided; nothing in this table is left as "neither blocked nor recorded".

| Word | Decision | Reason |
| --- | --- | --- |
| `kraut` | blocked | anti-German ethnic slur, same class as `honky`/`dagos` |
| `sperm` | blocked | reproductive/sexual vocabulary, same class as `semen` |
| `pubis` | blocked | reproductive anatomy, same class as `pubes`/`pubic` |
| `limey` | blocked | anti-British slur with no ordinary sense |
| `pommy` | blocked | anti-British slur with no ordinary sense |
| `sissy` | blocked | derogatory term for an effeminate man; no ordinary sense |
| `hussy` | blocked | derogatory term for a woman; no ordinary sense |
| `mammy` | retained | common neutral dialect for "mother"; the caricature is a historical stereotype, not a modern epithet |
| `pansy` | retained | the flower is the dominant sense; the dated insult is secondary |
| `twink` | retained | neutral in-group LGBTQ+ slang, not an epithet |
| `fritz` | retained | "on the fritz" idiom and a given name; slur sense is dated |
| `fecal` | retained | technical/scatological adjective, outside the sexual/slur scope |
| `feces` | retained | technical/scatological noun, outside the sexual/slur scope |
| `grope` | retained | the ordinary "feel blindly" sense dominates; not an adult-content term |
| `screw` | retained | fastener/twist senses dominate; the vulgar sense is secondary |
| `balls` | retained | sports/round-object plural dominates; anatomy slang is secondary |
| `paddy` | retained | rice paddy and a given name; the slur sense is dated |
| `hunky` | retained | ordinary adjective (attractive/muscular); the slur sense is dated |
| `butch` | retained | reclaimed identity term, not an epithet |
| `tramp` | retained | the vagrant sense dominates; the derogatory sense is secondary |
| `fanny` | retained | common given name; the UK vulgar sense is secondary |
| `ovary` | retained | clinical anatomy, not explicit sexual vocabulary |

Deliberately **not** filtered, because an ordinary or reclaimed sense dominates: `angle`, `baker`, `might`, `house` (existing fixtures), plus `craps` (dice game), `golly` (interjection), `naked`, `moron`, `queer` (reclaimed identity term), `gypsy`, `slope`, `spook`, and words whose vulgar sense is secondary (`boner`, `booby`, `booty`, `busty`, `horny`, `prick`, `spunk`, `willy`, `randy`, `kinky`, `lusty`, `tease`, `strip`, `swing`, `shaft`, `stiff`, `woody`, `cream`, `juice`, `dirty`, `crude`, `touch`). `coons` is blocked even though it also means raccoons, because the slur is its well-established modern use.

`tests/content.test.mjs` asserts that the denylist is well formed, that `FIVE_LETTER_WORDS` and `ALLOWED_WORDS` contain none of it, that no scheduled answer is denylisted, that the generated file remains a subset of `english-words.95`, and that `buildAllowedWords()` applies the denylist to injected poisoned sources (so deleting the runtime filter turns the suite red).

The 26 entries removed from the 2020.12.07 artifact: `bitch`, `chink`, `dildo`, `fagot`, `glans`, `honky`, `hussy`, `kraut`, `labia`, `limey`, `negro`, `nigga`, `penis`, `pommy`, `porno`, `pubes`, `pubic`, `pubis`, `pussy`, `semen`, `sissy`, `sperm`, `squaw`, `titty`, `vulva`, `whore`.

Regeneration command:

```bash
node scripts/generate-five-letter-wordlist.mjs /path/to/hunspell-en_US-2020.12.07.zip
```

The script prints the retained count and the denylisted words it removed. It imports the denylist from `src/word-data.mjs`, which in turn imports `src/five-letter-words.mjs`, so run it in a checkout where that artifact already exists (a fresh clone qualifies). The daily schedule and clues are WordHint Lab work, not copied third-party puzzles. Tests assert that every selected answer appears in this derived SCOWL list and that the license is present.