Datasets:
Tasks:
Token Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
1K - 10K
ArXiv:
License:
dipteshkanojia
commited on
Commit
•
54d7821
1
Parent(s):
8810dba
modify reader
Browse files- PLOD-CW.py +0 -2
PLOD-CW.py
CHANGED
@@ -106,7 +106,6 @@ class PLODfilteredConfig(datasets.GeneratorBasedBuilder):
|
|
106 |
guid = 0
|
107 |
tokens = []
|
108 |
pos_tags = []
|
109 |
-
chunk_tags = []
|
110 |
ner_tags = []
|
111 |
for line in f:
|
112 |
if line.startswith("-DOCSTART-") or line == "" or line == "\n":
|
@@ -120,7 +119,6 @@ class PLODfilteredConfig(datasets.GeneratorBasedBuilder):
|
|
120 |
guid += 1
|
121 |
tokens = []
|
122 |
pos_tags = []
|
123 |
-
chunk_tags = []
|
124 |
ner_tags = []
|
125 |
else:
|
126 |
splits = line.split(" ")
|
|
|
106 |
guid = 0
|
107 |
tokens = []
|
108 |
pos_tags = []
|
|
|
109 |
ner_tags = []
|
110 |
for line in f:
|
111 |
if line.startswith("-DOCSTART-") or line == "" or line == "\n":
|
|
|
119 |
guid += 1
|
120 |
tokens = []
|
121 |
pos_tags = []
|
|
|
122 |
ner_tags = []
|
123 |
else:
|
124 |
splits = line.split(" ")
|