Datasets:
Commit
·
41631f8
1
Parent(s):
6e1a063
Update asylex.py
Browse files
asylex.py
CHANGED
@@ -268,7 +268,7 @@ class Asylex(datasets.GeneratorBasedBuilder):
|
|
268 |
with open(filepath, "r", encoding="utf-8") as f:
|
269 |
data = csv.DictReader(f, delimiter = ";")
|
270 |
for row in enumerate(data):
|
271 |
-
yield
|
272 |
"decisionID": row["decisionID"],
|
273 |
"Text": row["Text"],
|
274 |
}
|
|
|
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"],
|
274 |
}
|