Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
Libraries:
Datasets
pandas
License:
sileod commited on
Commit
375ded2
1 Parent(s): be53e01

Update disrpt.py

Browse files
Files changed (1) hide show
  1. disrpt.py +1 -1
disrpt.py CHANGED
@@ -182,7 +182,7 @@ class Dataset(datasets.GeneratorBasedBuilder):
182
  **self.gen_kwargs
183
  }
184
  print('run_args',run_args)
185
- if corpus in ['rstdt','pdtb','cdtb','gum','tdb'] and not self.preprocessed_underscores.get(corpus,False):
186
  run(**run_args)
187
  self.preprocessed_underscores[corpus]=True
188
 
 
182
  **self.gen_kwargs
183
  }
184
  print('run_args',run_args)
185
+ if corpus in ['rstdt','pdtb','cdtb','gum','tdb'] and not self.preprocessed_underscores.get(corpus,False) and self.gen_kwargs.get('process_underscore',True):
186
  run(**run_args)
187
  self.preprocessed_underscores[corpus]=True
188