Skip to content

Commit

Permalink
Merge pull request #325 from nsorros/fix-readme-entity-linker
Browse files Browse the repository at this point in the history
Update README on EntityLinker 0.4
  • Loading branch information
dakinggg authored Feb 23, 2021
2 parents 079a01a + c4a058c commit 5df54e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ nlp = spacy.load("en_core_sci_sm")
# the AbbreviationDetector pipe has already been added to the pipeline. Adding
# the AbbreviationDetector pipe and setting resolve_abbreviations to True means
# that linking will only be performed on the long form of abbreviations.
nlp.add_pipe("scispacy_linker", config={"resolve_abbreviations": True, "name": "umls"})
nlp.add_pipe("scispacy_linker", config={"resolve_abbreviations": True, "linker_name": "umls"})
doc = nlp("Spinal and bulbar muscular atrophy (SBMA) is an \
inherited motor neuron disease caused by the expansion \
Expand Down

0 comments on commit 5df54e4

Please sign in to comment.