Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- swahili.py +1 -1
swahili.py
CHANGED
@@ -97,7 +97,7 @@ class Swahili(datasets.GeneratorBasedBuilder):
|
|
97 |
]
|
98 |
|
99 |
def _generate_examples(self, filepath, split):
|
100 |
-
"""
|
101 |
_id = 0
|
102 |
with open(filepath, mode="r", encoding="utf-8") as f:
|
103 |
for line in f:
|
|
|
97 |
]
|
98 |
|
99 |
def _generate_examples(self, filepath, split):
|
100 |
+
"""Yields examples."""
|
101 |
_id = 0
|
102 |
with open(filepath, mode="r", encoding="utf-8") as f:
|
103 |
for line in f:
|