Tyler Burns commited on
Commit
ed73f92
1 Parent(s): 68a4968

added ntlk download commands

Browse files
Files changed (2) hide show
  1. app.py +3 -0
  2. flycheck_app.py +3 -0
app.py CHANGED
@@ -11,6 +11,9 @@ import sklearn.cluster as cluster
11
  import nltk
12
  from nltk.stem import WordNetLemmatizer
13
  from keybert import KeyBERT
 
 
 
14
 
15
  # Set a seed
16
  np.random.seed(42)
 
11
  import nltk
12
  from nltk.stem import WordNetLemmatizer
13
  from keybert import KeyBERT
14
+ nltk.download('punkt')
15
+ nltk.download('omw-1.4')
16
+ nltk.download('wordnet')
17
 
18
  # Set a seed
19
  np.random.seed(42)
flycheck_app.py CHANGED
@@ -11,6 +11,9 @@ import sklearn.cluster as cluster
11
  import nltk
12
  from nltk.stem import WordNetLemmatizer
13
  from keybert import KeyBERT
 
 
 
14
 
15
  # Set a seed
16
  np.random.seed(42)
 
11
  import nltk
12
  from nltk.stem import WordNetLemmatizer
13
  from keybert import KeyBERT
14
+ nltk.download('punkt')
15
+ nltk.download('omw-1.4')
16
+ nltk.download('wordnet')
17
 
18
  # Set a seed
19
  np.random.seed(42)