sileod commited on
Commit
b345365
1 Parent(s): a444eea

Update disrpt.py

Browse files
Files changed (1) hide show
  1. disrpt.py +1 -1
disrpt.py CHANGED
@@ -164,7 +164,7 @@ class Dataset(datasets.GeneratorBasedBuilder):
164
  'dep_files': [v for k, v in self.files.items() if 'conllu' in k]
165
  }
166
  print('run_args',run_args)
167
- if corpus in ['rstdt','pdtb','cdtb','gum','tdb'] and not self.preprocessed_underscores[corpus]:
168
  run(**run_args)
169
  self.preprocessed_underscores[corpus]=True
170
 
 
164
  'dep_files': [v for k, v in self.files.items() if 'conllu' in k]
165
  }
166
  print('run_args',run_args)
167
+ if corpus in ['rstdt','pdtb','cdtb','gum','tdb'] and not self.preprocessed_underscores.get(corpus,False):
168
  run(**run_args)
169
  self.preprocessed_underscores[corpus]=True
170