leondz commited on
Commit
2c789d6
1 Parent(s): fd2a642

bugfix: columns were switched

Browse files
Files changed (1) hide show
  1. 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 f_da:
129
- with open(filepath['da'], encoding="utf-8") as f_bo:
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):