Update tydiqa-goldp.py
Browse files- tydiqa-goldp.py +2 -0
tydiqa-goldp.py
CHANGED
@@ -102,6 +102,8 @@ class tydiqa_GoldP(datasets.GeneratorBasedBuilder):
|
|
102 |
with open(filepath, encoding="utf-8") as f:
|
103 |
for row in f:
|
104 |
#data = json.loads(row)
|
|
|
|
|
105 |
idx = row["id"]
|
106 |
yield idx, data
|
107 |
#assert False
|
|
|
102 |
with open(filepath, encoding="utf-8") as f:
|
103 |
for row in f:
|
104 |
#data = json.loads(row)
|
105 |
+
print(row)
|
106 |
+
|
107 |
idx = row["id"]
|
108 |
yield idx, data
|
109 |
#assert False
|