Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- xed_en_fi.py +1 -1
xed_en_fi.py
CHANGED
@@ -127,7 +127,7 @@ class XedEnFi(datasets.GeneratorBasedBuilder):
|
|
127 |
]
|
128 |
|
129 |
def _generate_examples(self, filepath):
|
130 |
-
"""
|
131 |
with open(filepath, encoding="utf-8") as f:
|
132 |
for id_, line in enumerate(f):
|
133 |
if self.config.name == "en_neutral":
|
|
|
127 |
]
|
128 |
|
129 |
def _generate_examples(self, filepath):
|
130 |
+
"""Yields examples."""
|
131 |
with open(filepath, encoding="utf-8") as f:
|
132 |
for id_, line in enumerate(f):
|
133 |
if self.config.name == "en_neutral":
|