flair.datasets.entity_linking#

BIGBIO_EL_BC5CDR_CHEMICAL

This class implents the adapter for the BC5CDR corpus (only chemical annotations).

BIGBIO_EL_GNORMPLUS

This class implents the adapter for the GNormPlus corpus.

BIGBIO_EL_NCBI_DISEASE

This class implents the adapter for the NCBI Disease corpus.

BigBioEntityLinkingCorpus

This class implements an adapter to data sets implemented in the BigBio framework.

CTD_CHEMICALS_DICTIONARY

Dictionary for named entity linking on chemicals using the Comparative Toxicogenomics Database (CTD).

CTD_DISEASES_DICTIONARY

Dictionary for named entity linking on diseases using the Comparative Toxicogenomics Database (CTD).

EntityLinkingDictionary

Base class for downloading and reading of dictionaries for entity entity linking.

HunerEntityLinkingDictionary

Base dictionary with data already in huner format.

InMemoryEntityLinkingDictionary

NCBI_GENE_HUMAN_DICTIONARY

Dictionary for named entity linking on diseases using the NCBI Gene ontology.

NCBI_TAXONOMY_DICTIONARY

Dictionary for named entity linking on organisms / species using the NCBI taxonomy ontology.

NEL_ENGLISH_AIDA

NEL_ENGLISH_AQUAINT

NEL_ENGLISH_IITB

NEL_ENGLISH_REDDIT

NEL_ENGLISH_TWEEKI

NEL_GERMAN_HIPE

WSD_MASC

WSD_OMSTI

WSD_RAGANATO_ALL

WSD_SEMCOR

WSD_TRAINOMATIC

WSD_UFSAC

WSD_WORDNET_GLOSS_TAGGED

ZELDA

determine_tsv_file

Checks if the converted .tsv file already exists and if not, creates it.

from_ufsac_to_tsv

Function that converts the UFSAC format into tab separated column format in a new file.