Commit
·
a7f26fe
1
Parent(s):
40d7137
db_id normalizations
Browse fileshttps://github.com/bigscience-workshop/biomedical/pull/748/files
- 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 |
|