clairebarale commited on
Commit
4c8d264
1 Parent(s): 41631f8

Update asylex.py

Browse files
Files changed (1) hide show
  1. asylex.py +1 -1
asylex.py CHANGED
@@ -267,7 +267,7 @@ class Asylex(datasets.GeneratorBasedBuilder):
267
  elif self.config.name == "raw_sentences":
268
  with open(filepath, "r", encoding="utf-8") as f:
269
  data = csv.DictReader(f, delimiter = ";")
270
- for row in enumerate(data):
271
  yield idx, {
272
  "decisionID": row["decisionID"],
273
  "Text": row["Text"],
 
267
  elif self.config.name == "raw_sentences":
268
  with open(filepath, "r", encoding="utf-8") as f:
269
  data = csv.DictReader(f, delimiter = ";")
270
+ for idx, row in enumerate(data):
271
  yield idx, {
272
  "decisionID": row["decisionID"],
273
  "Text": row["Text"],