Skip to main content

normalize_text

Function normalize_text 

Source
pub fn normalize_text(input: &str, limit: usize) -> Option<NormalizedText>
Expand description

Normalise text (NFKC), strip control characters, compact whitespace and truncate at grapheme boundaries.