sweetfelinity commited on
Commit
41b5e87
·
verified ·
1 Parent(s): f321966

Updated NLTK download packages

Browse files
Files changed (1) hide show
  1. MultinominalModel.py +3 -1
MultinominalModel.py CHANGED
@@ -11,8 +11,10 @@ import pandas as pd
11
 
12
  lemmatizer = WordNetLemmatizer()
13
 
14
-
 
15
  nltk.download('all-corpora')
 
16
  stop_words = set(stopwords.words('english'))
17
 
18
  df = pd.read_csv("amazon_reviews.csv")
 
11
 
12
  lemmatizer = WordNetLemmatizer()
13
 
14
+ nltk.download('stopwords')
15
+ nltk.download('punkt_tab')
16
  nltk.download('all-corpora')
17
+
18
  stop_words = set(stopwords.words('english'))
19
 
20
  df = pd.read_csv("amazon_reviews.csv")