davidkartchner
commited on
Commit
•
dd857ab
1
Parent(s):
4094f95
Add additional case to remove entities without an identifier (db_id = '-')
Browse files- nlm_gene.py +1 -1
nlm_gene.py
CHANGED
@@ -182,7 +182,7 @@ class NLMGeneDataset(datasets.GeneratorBasedBuilder):
|
|
182 |
db_ids = db_ids.lstrip('-222,')
|
183 |
|
184 |
# No listed entity for a mention
|
185 |
-
if db_ids in ['-1','-000','-111']:
|
186 |
normalized = []
|
187 |
|
188 |
else:
|
|
|
182 |
db_ids = db_ids.lstrip('-222,')
|
183 |
|
184 |
# No listed entity for a mention
|
185 |
+
if db_ids in ['-1','-000','-111','-']:
|
186 |
normalized = []
|
187 |
|
188 |
else:
|