madhavkotecha commited on
Commit
3e093c4
·
verified ·
1 Parent(s): 04b40bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -14,6 +14,9 @@ import matplotlib.pyplot as plt
14
  from sklearn import metrics
15
  from sklearn.model_selection import KFold
16
 
 
 
 
17
  SW = set(nltk.corpus.stopwords.words("english"))
18
  PUNCT = set([".", ",", "!", "?", ":", ";", "-", "(", ")", "[", "]", "{", "}", "'", '"'])
19
  Features_count = 6
 
14
  from sklearn import metrics
15
  from sklearn.model_selection import KFold
16
 
17
+ nltk.download('stoppwords')
18
+ nltk.download('punkt_tab')
19
+
20
  SW = set(nltk.corpus.stopwords.words("english"))
21
  PUNCT = set([".", ",", "!", "?", ":", ";", "-", "(", ")", "[", "]", "{", "}", "'", '"'])
22
  Features_count = 6