Datasets:
Update piglatin-mt.py
Browse files- piglatin-mt.py +1 -1
piglatin-mt.py
CHANGED
@@ -118,6 +118,6 @@ class PigLatinMT(datasets.GeneratorBasedBuilder):
|
|
118 |
with open(filepath, encoding="utf-8") as f:
|
119 |
for id_, row in enumerate(f):
|
120 |
data = json.loads(row)
|
121 |
-
result = {"translation": {"eng": data["eng"], "
|
122 |
yield id_, result
|
123 |
|
|
|
118 |
with open(filepath, encoding="utf-8") as f:
|
119 |
for id_, row in enumerate(f):
|
120 |
data = json.loads(row)
|
121 |
+
result = {"translation": {"eng": data["eng"], "engyay": data["engyay"]}}
|
122 |
yield id_, result
|
123 |
|