chintagunta85
commited on
Commit
·
408da74
1
Parent(s):
cfcb865
Update bionlp2.py
Browse files- bionlp2.py +1 -1
bionlp2.py
CHANGED
@@ -95,7 +95,7 @@ class BioNLP2004(datasets.GeneratorBasedBuilder):
|
|
95 |
data['ner_tags']=nlist
|
96 |
#del data['tags']
|
97 |
xstr = str(_key)
|
98 |
-
yield xstr,{"id":xstr,"tokens":data['tokens'], "
|
99 |
#yield _key,data
|
100 |
_key += 1
|
101 |
|
|
|
95 |
data['ner_tags']=nlist
|
96 |
#del data['tags']
|
97 |
xstr = str(_key)
|
98 |
+
yield xstr,{"id":xstr,"tokens":data['tokens'], "ner_tags":data['ner_tags']}
|
99 |
#yield _key,data
|
100 |
_key += 1
|
101 |
|