From 74092ada819db18e7d4d943b6dd1c05f4a420d18 Mon Sep 17 00:00:00 2001 From: andyjessen Date: Thu, 30 Mar 2023 19:44:41 -0600 Subject: [PATCH] Update EntityLinker docstring This commit updates the docstring to include current supported linkers. --- scispacy/linking.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scispacy/linking.py b/scispacy/linking.py index 1e247bd..a1c11de 100644 --- a/scispacy/linking.py +++ b/scispacy/linking.py @@ -11,10 +11,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.