textutils Module

Function Documentation

Common helper functions for basic text preprocessing and analysis.

textutils.word_count Count the number of words in a given text.
textutils.reverse_text Reverses the given text either by words or by characters.
textutils.most_common_word Identify the most common word in a given text.
textutils.remove_punctuation Remove all punctuation from the given text.