omniquad commited on
Commit
0b1aa04
·
1 Parent(s): ed1f8fe

Update BioNLP11ID-ggp-IOB.py

Browse files
Files changed (1) hide show
  1. 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, {