Datasets:
Miquel Esplà Gomis
commited on
Commit
·
4096d8d
1
Parent(s):
09bde05
Adapting macocu.py to new strcuture
Browse files
macocu.py
CHANGED
|
@@ -105,7 +105,9 @@ class MaCoCu_parallel(datasets.GeneratorBasedBuilder):
|
|
| 105 |
if id_ == 0:
|
| 106 |
continue
|
| 107 |
yield id_, {
|
| 108 |
-
"
|
| 109 |
-
"
|
|
|
|
|
|
|
| 110 |
}
|
| 111 |
|
|
|
|
| 105 |
if id_ == 0:
|
| 106 |
continue
|
| 107 |
yield id_, {
|
| 108 |
+
"sourceLang": row[0],
|
| 109 |
+
"targetlang": row[1],
|
| 110 |
+
"sourceString": row[2],
|
| 111 |
+
"targetString": row[3]
|
| 112 |
}
|
| 113 |
|