I used the last sentence from the example on your README.md file :
doc = nlp("Spinal and bulbar muscular atrophy (SBMA) is an \
inherited motor neuron disease caused by the expansion \
of a polyglutamine tract within the androgen receptor (AR). \
SBMA can be caused by this easily.")
Here's my code:
import spacy
import scispacy
from scispacy.linking import EntityLinker
nlp = spacy.load("en_ner_craft_md")
nlp.add_pipe("abbreviation_detector")
nlp.add_pipe(
"scispacy_linker",
config={"resolve_abbreviations": True, "linker_name":"mesh"},
)
doc = self.nlp("SBMA can be caused by this easily.") # from the scispacy example
I get the following error:
../site-packages/scispacy/abbreviation.py:230: UserWarning: [W036] The component 'matcher' does not have any patterns defined.
global_matches = self.global_matcher(doc)
Hello,
Happy Holidays!
I used the last sentence from the example on your README.md file :
Here's my code:
I get the following error:
Any guidance would be greatly appreciated!