Miquel Esplà Gomis commited on
Commit
4096d8d
1 Parent(s): 09bde05

Adapting macocu.py to new strcuture

Browse files
Files changed (1) hide show
  1. macocu.py +4 -2
macocu.py CHANGED
@@ -105,7 +105,9 @@ class MaCoCu_parallel(datasets.GeneratorBasedBuilder):
105
  if id_ == 0:
106
  continue
107
  yield id_, {
108
- "sourceString": row[0],
109
- "targetString": row[1]
 
 
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