Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update EntityLinker docstring #472

Merged
merged 2 commits into from
Apr 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions scispacy/linking.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ class EntityLinker:
A spacy pipeline component which identifies entities in text which appear
in a knowledge base.

Currently, there are two defaults: the Unified Medical Language System (UMLS) and
the Medical Subject Headings (MESH) dictionary.
Currently, there are five defaults: the Unified Medical Language System (UMLS),
the Medical Subject Headings (MeSH) dictionary, the RxNorm ontology, the Gene
Ontology, and the Human Phenotype Ontology.

To use these configured default KBs, pass the `name` parameter, either 'umls' or 'mesh'.
To use these configured default KBs, pass the `name` parameter ('umls','mesh',
'rxnorm','go','hpo').

Currently this implementation just compares string similarity, returning
entities above a given threshold.
Expand Down