Datasets:
Tasks:
Token Classification
Modalities:
Text
Languages:
English
Size:
100K - 1M
ArXiv:
Tags:
abbreviation-detection
License:
dipteshkanojia
commited on
Commit
•
0dc1574
1
Parent(s):
fabacba
changeS
Browse files- PLOD-filtered.py +1 -1
PLOD-filtered.py
CHANGED
@@ -105,7 +105,7 @@ class PLODfilteredConfig(datasets.GeneratorBasedBuilder):
|
|
105 |
logger.info("generating examples from = %s", filepath)
|
106 |
with open(filepath) as f:
|
107 |
plod = json.load(f)
|
108 |
-
for object in plod
|
109 |
id_ = int(object['id'])
|
110 |
yield id_, {
|
111 |
"id": str(id_),
|
|
|
105 |
logger.info("generating examples from = %s", filepath)
|
106 |
with open(filepath) as f:
|
107 |
plod = json.load(f)
|
108 |
+
for object in plod:
|
109 |
id_ = int(object['id'])
|
110 |
yield id_, {
|
111 |
"id": str(id_),
|