pub fn scrub_text(text: &str, profile: &StyloProfile) -> StringExpand description
Apply all scrubbing transformations to the input text.
Operations applied:
- Punctuation normalisation (if
profile.normalize_punctuation) - Contraction expansion
- Whitespace normalisation