added downloading word net
Browse files- clean_text_model.py +1 -0
clean_text_model.py
CHANGED
@@ -10,6 +10,7 @@ class TextCleaner:
|
|
10 |
def __init__(self):
|
11 |
warnings.filterwarnings("ignore")
|
12 |
nltk.download('stopwords')
|
|
|
13 |
self.stop_words = set(stopwords.words('english'))
|
14 |
self.lemmatizer = WordNetLemmatizer()
|
15 |
|
|
|
10 |
def __init__(self):
|
11 |
warnings.filterwarnings("ignore")
|
12 |
nltk.download('stopwords')
|
13 |
+
nltk.download('wordnet')
|
14 |
self.stop_words = set(stopwords.words('english'))
|
15 |
self.lemmatizer = WordNetLemmatizer()
|
16 |
|