From f09a261816420ee261b9b95cd03d9a18edf9e1f7 Mon Sep 17 00:00:00 2001 From: "jannis.grundmann" Date: Thu, 7 Sep 2017 14:59:59 +0200 Subject: [PATCH] composing mit text-stream angefangen --- textCleaning.py | 2 ++ 1 file changed, 2 insertions(+) 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):