db_id normalizations
#2
by
gabrielaltay
- opened
- 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 |
|