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...

Full description

Bibliographic Details
Main Author: nleguillarme
Format: Software
Language:unknown
Published: 2022
Subjects:
Ner
Online Access:https://zenodo.org/record/5873353
https://doi.org/10.5281/zenodo.5873353
Description
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]