Update lefff_morpho.py
Browse files- lefff_morpho.py +1 -1
lefff_morpho.py
CHANGED
@@ -117,7 +117,7 @@ class LefffMorpho(datasets.GeneratorBasedBuilder):
|
|
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
|
121 |
# TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
122 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
123 |
with open(filepath, encoding="utf-8") as f:
|
|
|
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):
|
121 |
# TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
122 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
123 |
with open(filepath, encoding="utf-8") as f:
|