Datasets:
Tasks:
Token Classification
Modalities:
Text
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
10K - 100K
License:
chintagunta85
commited on
Commit
·
ee69680
1
Parent(s):
c0b2ca5
Update bc2gm_test.py
Browse files- bc2gm_test.py +1 -1
bc2gm_test.py
CHANGED
@@ -112,7 +112,7 @@ class Bc2gmCorpus(datasets.GeneratorBasedBuilder):
|
|
112 |
# tokens are tab separated
|
113 |
splits = line.split("\t")
|
114 |
tokens.append(splits[0])
|
115 |
-
ner_tags.append(
|
116 |
# last example
|
117 |
yield guid, {
|
118 |
"id": str(guid),
|
|
|
112 |
# tokens are tab separated
|
113 |
splits = line.split("\t")
|
114 |
tokens.append(splits[0])
|
115 |
+
ner_tags.append(splits[1].rstrip())
|
116 |
# last example
|
117 |
yield guid, {
|
118 |
"id": str(guid),
|