Update NCR.py
Browse files
NCR.py
CHANGED
|
@@ -102,7 +102,7 @@ class NCR(datasets.GeneratorBasedBuilder):
|
|
| 102 |
return text.replace(".", ". ").strip()
|
| 103 |
|
| 104 |
with open(filepath, encoding="utf-8") as f:
|
| 105 |
-
data = json.loads(f.read()
|
| 106 |
questions = data["Questions"]
|
| 107 |
for i in range(len(questions)):
|
| 108 |
question = questions[i]
|
|
|
|
| 102 |
return text.replace(".", ". ").strip()
|
| 103 |
|
| 104 |
with open(filepath, encoding="utf-8") as f:
|
| 105 |
+
data = json.loads(f.read())
|
| 106 |
questions = data["Questions"]
|
| 107 |
for i in range(len(questions)):
|
| 108 |
question = questions[i]
|