shivam commited on
Commit
c392782
1 Parent(s): 93228b4

Data uploaded

Browse files
Files changed (1) hide show
  1. iwn_wordlists.py +1 -1
iwn_wordlists.py CHANGED
@@ -119,7 +119,7 @@ class IWNWordLists(datasets.GeneratorBasedBuilder):
119
 
120
  def _generate_examples(self, filepath, split):
121
  with open(filepath, encoding="utf-8") as f:
122
- data = json.loads(f)
123
  for key, row in enumerate(data["data"]):
124
  yield key, {
125
  "word": row["word"]
119
 
120
  def _generate_examples(self, filepath, split):
121
  with open(filepath, encoding="utf-8") as f:
122
+ data = json.load(f)
123
  for key, row in enumerate(data["data"]):
124
  yield key, {
125
  "word": row["word"]