Datasets:

Languages:
Hebrew
ArXiv:
Libraries:
Datasets
pandas
License:
GiliGold commited on
Commit
85cae1a
1 Parent(s): c72e219

Upload knessetCorpus.py

Browse files
Files changed (1) hide show
  1. 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: