Datasets:
Update NorSumm.py
Browse files- NorSumm.py +4 -2
NorSumm.py
CHANGED
|
@@ -75,9 +75,11 @@ class NorSumm(datasets.GeneratorBasedBuilder):
|
|
| 75 |
|
| 76 |
def _generate_examples(self, filepath):
|
| 77 |
"""Yields examples."""
|
|
|
|
|
|
|
| 78 |
|
| 79 |
-
with open(filepath, 'r', encoding="utf-8") as f:
|
| 80 |
-
|
| 81 |
# norsumm = json.load(f)
|
| 82 |
# for example in norsumm:
|
| 83 |
# id_ = example["id"]
|
|
|
|
| 75 |
|
| 76 |
def _generate_examples(self, filepath):
|
| 77 |
"""Yields examples."""
|
| 78 |
+
|
| 79 |
+
print(filepath)
|
| 80 |
|
| 81 |
+
# with open(filepath, 'r', encoding="utf-8") as f:
|
| 82 |
+
# print(f)
|
| 83 |
# norsumm = json.load(f)
|
| 84 |
# for example in norsumm:
|
| 85 |
# id_ = example["id"]
|