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. <code class="lang-python">>>> from taxonerd import TaxoNERD >>> ner = TaxoNERD(model="en_ner_eco_md", prefer_gpu=False, with_abbrev=False)...

Full description

Bibliographic Details
Main Author: Nleguillarme
Format: Article in Journal/Newspaper
Language:unknown
Published: Zenodo 2022
Subjects:
Ner
Online Access:https://dx.doi.org/10.5281/zenodo.5873353
https://zenodo.org/record/5873353
Description
Summary:Code refactoring to expose the Doc object produced by spaCy. Only available when taxonerd is used as a python module. <code class="lang-python">>>> 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]