sdiazlor commited on
Commit
ca59253
·
1 Parent(s): 3a74a0a

deal with nltk

Browse files
src/synthetic_dataset_generator/apps/rag.py CHANGED
@@ -52,7 +52,7 @@ from synthetic_dataset_generator.utils import (
52
  swap_visibility,
53
  )
54
  nltk.download("punkt_tab")
55
- nltk.download("averaged_perceptron_tagger_eng")
56
 
57
  def _get_valid_columns(dataframe: pd.DataFrame):
58
  doc_valid_columns = []
 
52
  swap_visibility,
53
  )
54
  nltk.download("punkt_tab")
55
+ nltk.download("averaged_perceptron_tagger_eng",download_dir="./nltk_data/")
56
 
57
  def _get_valid_columns(dataframe: pd.DataFrame):
58
  doc_valid_columns = []