Skip to main content

Module text

Module text 

Source
Expand description

Text processing utilities.

Generic functions for analyzing and normalizing text content.

Functionsยง

clean_for_comparison
Clean text for fuzzy comparison.
has_content
Check if text contains meaningful alphanumeric content.
is_whitespace_only
Check if text contains only whitespace.
normalize
Normalize whitespace in text.
sentence_count
Count sentences in text (approximate).
word_count
Count words in text.