Datasets:
cryptexcode
commited on
Commit
·
f507470
1
Parent(s):
2600fe7
Update multiconer_v2.py
Browse files- multiconer_v2.py +1 -1
multiconer_v2.py
CHANGED
@@ -241,7 +241,7 @@ class MultiCoNER2(datasets.GeneratorBasedBuilder):
|
|
241 |
|
242 |
for line in f:
|
243 |
if line.strip().startswith("# id"):
|
244 |
-
s_id = line.split(
|
245 |
guid += 1
|
246 |
tokens = []
|
247 |
ner_tags = []
|
|
|
241 |
|
242 |
for line in f:
|
243 |
if line.strip().startswith("# id"):
|
244 |
+
s_id = line.split()[2].strip()
|
245 |
guid += 1
|
246 |
tokens = []
|
247 |
ner_tags = []
|