nleguillarme/taxonerd: v1.3.2
Code refactoring to expose the Doc object produced by spaCy. Only available when taxonerd is used as a python module. >>> from taxonerd import TaxoNERD >>> ner = TaxoNERD(model="en_ner_eco_md", prefer_gpu=False, with_abbrev=False) >>> doc = ner.ner("Brown be...
Main Author: | |
---|---|
Format: | Software |
Language: | unknown |
Published: |
2022
|
Subjects: | |
Online Access: | https://zenodo.org/record/5873353 https://doi.org/10.5281/zenodo.5873353 |
Summary: | Code refactoring to expose the Doc object produced by spaCy. Only available when taxonerd is used as a python module. >>> from taxonerd import TaxoNERD >>> ner = TaxoNERD(model="en_ner_eco_md", prefer_gpu=False, with_abbrev=False) >>> doc = ner.ner("Brown bears (Ursus arctos), which are widely distributed throughout the northern hemisphere, are recognised as opportunistic omnivore") >>> print([ent for ent in doc.ents]) [Ursus arctos] |
---|