Sean-Case commited on
Commit
c1da670
1 Parent(s): 7e5fca9

Added stopwords and wordnet nltk dependencies

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -1,9 +1,13 @@
 
 
 
 
 
 
1
  from search_funcs.fast_bm25 import BM25
2
  from search_funcs.clean_funcs import initial_clean, get_lemma_tokens#, stem_sentence
3
  from nltk import word_tokenize
4
- import nltk
5
 
6
- nltk.download('names')
7
 
8
  import gradio as gr
9
  import pandas as pd
 
1
+ import nltk
2
+
3
+ nltk.download('names')
4
+ nltk.download('stopwords')
5
+ nltk.download('wordnet')
6
+
7
  from search_funcs.fast_bm25 import BM25
8
  from search_funcs.clean_funcs import initial_clean, get_lemma_tokens#, stem_sentence
9
  from nltk import word_tokenize
 
10
 
 
11
 
12
  import gradio as gr
13
  import pandas as pd