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

New linkers #246

Merged
merged 7 commits into from
Jul 8, 2020
Merged

New linkers #246

merged 7 commits into from
Jul 8, 2020

Conversation

DeNeutoy
Copy link
Contributor

@DeNeutoy DeNeutoy commented Jul 7, 2020

  • use jsonl files for new linkers, as they are easier to work with
  • add paths to new linkers: rxnorm, go, hpo and updated umls linker.

@DeNeutoy DeNeutoy requested a review from dakinggg July 7, 2020 23:54
Copy link
Collaborator

@dakinggg dakinggg left a 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
Copy link
Collaborator

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):
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants