Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

scrub

Scrub text of stylometric fingerprints to resist authorship attribution.

Usage

shadowforge scrub --input <FILE> --output <FILE> [OPTIONS]

Options

OptionRequiredDefaultDescription
--inputYesInput text file
--outputYesOutput file
--avg-sentence-lenNo15Target average sentence length
--vocab-sizeNo1000Target vocabulary size

Examples

shadowforge scrub --input article.txt --output scrubbed.txt

# Custom parameters for more aggressive normalisation
shadowforge scrub --input article.txt --output scrubbed.txt \
  --avg-sentence-len 12 --vocab-size 800

How It Works

The scrubber normalises your writing against a frequency table, adjusting sentence length distribution and vocabulary complexity to match a generic baseline. This makes stylometric analysis (e.g. Writeprints, JStylo) less effective at identifying the author.

Limitation: Stylometric scrubbing is statistical and partial. A determined adversary with a large writing sample may still find residual patterns. Use this alongside other countermeasures, not as a sole defence.