Remove extra whitespace, double spaces, leading and trailing spaces from text.
Count words, characters, sentences, paragraphs and estimate reading time.
Remove duplicate lines from text. Preserve first occurrence and optionally ignore case.