Version 0.0.5
Enhancements
-
Removed two methods from the "normalization" module:
remove_leading_trailing_spaces
: This method was used to remove leading and trailing spaces in the input text. (Method removed in this release)replace_multiple_spaces
: This method was used to convert consecutive double spaces into single spaces in the input text. (Method removed in this release)
-
Added a new method to the "normalization" module:
remove_whitespace(text)
: This new method efficiently removes all excess spaces in the input text. It replaces consecutive sequences of spaces with a single space and removes any leading or trailing spaces, ensuring a cleaner and more consistent text output.