bugfix: columns were switched
Browse files- bornholmsk_parallel.py +2 -2
bornholmsk_parallel.py
CHANGED
@@ -125,8 +125,8 @@ class BornholmskParallel(datasets.GeneratorBasedBuilder):
|
|
125 |
def _generate_examples(self, filepath):
|
126 |
logger.info("⏳ Generating examples from = %s and %s", (filepath['da'], filepath['da-bornholm']))
|
127 |
guid = 0
|
128 |
-
with open(filepath['da-bornholm'], encoding="utf-8") as
|
129 |
-
with open(filepath['da'], encoding="utf-8") as
|
130 |
bo = f_bo.readlines()
|
131 |
da = f_da.readlines()
|
132 |
for instance in zip(bo, da):
|
|
|
125 |
def _generate_examples(self, filepath):
|
126 |
logger.info("⏳ Generating examples from = %s and %s", (filepath['da'], filepath['da-bornholm']))
|
127 |
guid = 0
|
128 |
+
with open(filepath['da-bornholm'], encoding="utf-8") as f_bo:
|
129 |
+
with open(filepath['da'], encoding="utf-8") as f_da:
|
130 |
bo = f_bo.readlines()
|
131 |
da = f_da.readlines()
|
132 |
for instance in zip(bo, da):
|