Update BioNLP11ID-ggp-IOB.py
Browse files- BioNLP11ID-ggp-IOB.py +2 -0
BioNLP11ID-ggp-IOB.py
CHANGED
@@ -133,6 +133,8 @@ class Bc4chemdNer(datasets.GeneratorBasedBuilder):
|
|
133 |
# ner_tags.append("I-DISEASE")
|
134 |
else:
|
135 |
ner_tags.append("O")
|
|
|
|
|
136 |
|
137 |
# last example
|
138 |
yield guid, {
|
|
|
133 |
# ner_tags.append("I-DISEASE")
|
134 |
else:
|
135 |
ner_tags.append("O")
|
136 |
+
else:
|
137 |
+
tokens.append(line)
|
138 |
|
139 |
# last example
|
140 |
yield guid, {
|