Update conll2003.py
Browse files- conll2003.py +1 -1
conll2003.py
CHANGED
@@ -137,7 +137,7 @@ class Conll2003(datasets.GeneratorBasedBuilder):
|
|
137 |
# conll2003 tokens are space separated
|
138 |
splits = line.split(" ")
|
139 |
tokens.append(splits[0])
|
140 |
-
ner_tags.append(splits[
|
141 |
# last example
|
142 |
if tokens:
|
143 |
yield guid, {
|
|
|
137 |
# conll2003 tokens are space separated
|
138 |
splits = line.split(" ")
|
139 |
tokens.append(splits[0])
|
140 |
+
ner_tags.append(splits[3].rstrip())
|
141 |
# last example
|
142 |
if tokens:
|
143 |
yield guid, {
|