sagot commited on
Commit
3176476
·
1 Parent(s): 6fa98a3

Update lefff_morpho.py

Browse files
Files changed (1) hide show
  1. lefff_morpho.py +1 -1
lefff_morpho.py CHANGED
@@ -114,7 +114,7 @@ class LefffMorpho(datasets.GeneratorBasedBuilder):
114
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
115
  urls = _URLS["all"]
116
  data_dir = dl_manager.download_and_extract(urls)
117
- return [datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={'filepath': downloaded_files['test']})]
118
 
119
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
120
  def _generate_examples(self, filepath, split):
 
114
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
115
  urls = _URLS["all"]
116
  data_dir = dl_manager.download_and_extract(urls)
117
+ return [datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={'filepath': downloaded_files['all']})]
118
 
119
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
120
  def _generate_examples(self, filepath, split):