Upload knessetCorpus.py
Browse files- knessetCorpus.py +1 -1
knessetCorpus.py
CHANGED
@@ -265,7 +265,7 @@ class KnessetCorpus(datasets.GeneratorBasedBuilder):
|
|
265 |
elif self.config.name == "knessetMembers":
|
266 |
id_field_name = "person_id"
|
267 |
|
268 |
-
for i, filepath in enumerate(data_files):
|
269 |
with open(filepath, encoding="utf-8") as f:
|
270 |
for line in f:
|
271 |
try:
|
|
|
265 |
elif self.config.name == "knessetMembers":
|
266 |
id_field_name = "person_id"
|
267 |
|
268 |
+
for i, filepath in enumerate(data_files.values()):
|
269 |
with open(filepath, encoding="utf-8") as f:
|
270 |
for line in f:
|
271 |
try:
|