-
Notifications
You must be signed in to change notification settings - Fork 229
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
New linkers #246
New linkers #246
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
README.md
Outdated
The linker simply performs a string overlap search on named entities, | ||
comparing them with a knowledge base of 2.7 million concepts using an approximate nearest neighbours search. | ||
The `EntityLinker` is a SpaCy component which performs linking to a knowledge base. The linker simply performs | ||
a string overlap based search on named entities, comparing them with a knowledge base of 2.7 million concepts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its a little unclear what the 2.7 number is referring to here because there are 5 options below. probably mention the 2.7 refers to the default, umls option.
@@ -37,7 +37,7 @@ def read_umls_file_headers(meta_path: str, filename: str) -> List[str]: | |||
return None | |||
|
|||
|
|||
def read_umls_concepts(meta_path: str, concept_details: Dict): | |||
def read_umls_concepts(meta_path: str, concept_details: Dict, source: str = None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add source arg to the docstring?
rxnorm
,go
,hpo
and updatedumls
linker.