Commit
·
b697c42
1
Parent(s):
40d7137
db_id normalizations (#2)
Browse files- db_id normalizations (a7f26fe4e33919d2bf1283e45a1b19ca7120fec8)
- gnormplus.py +1 -1
gnormplus.py
CHANGED
@@ -172,7 +172,7 @@ class GnormplusDataset(datasets.GeneratorBasedBuilder):
|
|
172 |
),
|
173 |
]
|
174 |
|
175 |
-
def _parse_bioc_entity(self, uid, bioc_ann, db_id_key="
|
176 |
offsets, texts = get_texts_and_offsets_from_bioc_ann(bioc_ann)
|
177 |
_type = bioc_ann.infons["type"]
|
178 |
|
|
|
172 |
),
|
173 |
]
|
174 |
|
175 |
+
def _parse_bioc_entity(self, uid, bioc_ann, db_id_key="NCBIGene", insert_tax_id=False):
|
176 |
offsets, texts = get_texts_and_offsets_from_bioc_ann(bioc_ann)
|
177 |
_type = bioc_ann.infons["type"]
|
178 |
|