Datasets:
Data uploaded
Browse files- 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.
|
| 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"]
|