diff --git a/newspaper/text.py b/newspaper/text.py index d2bbc5af..b5f02330 100644 --- a/newspaper/text.py +++ b/newspaper/text.py @@ -57,9 +57,6 @@ def set_word_count(self, cnt): class StopWords(object): - - PUNCTUATION = re.compile( - "[^\\p{Ll}\\p{Lu}\\p{Lt}\\p{Lo}\\p{Nd}\\p{Pc}\\s]") TRANS_TABLE = str.maketrans('', '') _cached_stop_words = {}