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

added nltk punkt load

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,6 +3,7 @@ import nltk
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
@@ -264,7 +265,7 @@ depends on factors such as the type of documents or queries. Information taken f
264
  gr.Markdown(
265
  """
266
  # Fast text search
267
- Enter a text query below to search through a text data column and find relevant entries. Your data should contain at least 20 entries for the search to return results.
268
  """)
269
 
270
  with gr.Tab(label="Search your data"):
 
3
  nltk.download('names')
4
  nltk.download('stopwords')
5
  nltk.download('wordnet')
6
+ nltk.download('punkt')
7
 
8
  from search_funcs.fast_bm25 import BM25
9
  from search_funcs.clean_funcs import initial_clean, get_lemma_tokens#, stem_sentence
 
265
  gr.Markdown(
266
  """
267
  # Fast text search
268
+ Enter a text query below to search through a text data column and find relevant terms. It will only find terms containing the exact text you enter. Your data should contain at least 20 entries for the search to consistently return results.
269
  """)
270
 
271
  with gr.Tab(label="Search your data"):