diff --git a/textCleaning.py b/textCleaning.py index ef6a819..dae6afb 100644 --- a/textCleaning.py +++ b/textCleaning.py @@ -80,6 +80,8 @@ class TextCleaner: def removeWhitespace(self, string): return string + #self.whitespaceFinder = re.compile(r'(\r\n|\r|\n|(\s)+)', re.IGNORECASE) + def removePunctuation(self, string, custom_symbols=None, keep=None):