Skip to main content

Module scrubber

Module scrubber 

Source
Expand description

Linguistic stylometric fingerprint scrubbing.

Deterministic statistical normalisation of text to destroy authorship attribution fingerprints. No LLM, no network calls — purely local text transformation.

Functions§

average_sentence_length
Compute the average sentence length in words for the given text.
expand_contractions
Expand common English contractions to full forms.
normalize_punctuation
Normalise punctuation to ASCII equivalents.
scrub_text
Apply all scrubbing transformations to the input text.