jaelin215 commited on
Commit
ba852a7
1 Parent(s): 35de82b

added downloading word net

Browse files
Files changed (1) hide show
  1. 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