Datasets:
Tasks:
Token Classification
Modalities:
Text
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
10K - 100K
License:
chintagunta85
commited on
Commit
•
c0b2ca5
1
Parent(s):
ca84460
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(str(int(splits[1].rstrip()+shift))
|
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(str(int(splits[1].rstrip())+shift))
|
116 |
# last example
|
117 |
yield guid, {
|
118 |
"id": str(guid),
|