You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thank you for this wonderful library! Trying to use 'en_core_sci_lg' for simple entity recognition task, not sure if I'm missing something in the setup or it's a bug, would appreciate the help.
This is the output of an example from spicy documentation.
when trying this:
import spacy
nlp = spacy.load("en_core_web_sm")
doc = nlp("Apple is looking at buying U.K. startup for $1 billion")
for ent in doc.ents:
print(ent.text, ent.start_char, ent.end_char, ent.label_)
**but when trying the same code with en_core_sci_lg - **
import spacy
nlp = spacy.load('en_core_sci_lg')
doc = nlp("Apple is looking at buying U.K. startup for $1 billion")
for ent in doc.ents:
print(ent.text, ent.start_char, ent.end_char, ent.label_)
The scispacy models are for identifying biomedical entities, so it is expected that some general entities will not be captured by scispacy models. If you are looking to identify more general entities like money amounts, etc, you'll be better off with the base spacy models.
Hi,
Thank you for this wonderful library! Trying to use 'en_core_sci_lg' for simple entity recognition task, not sure if I'm missing something in the setup or it's a bug, would appreciate the help.
This is the output of an example from spicy documentation.
when trying this:
the result is -
**but when trying the same code with en_core_sci_lg - **
the result is -
working on google colab, installed the following -
`! pip install spacy
! pip install scispacy
! pip install https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.5.1/en_core_sci_lg-0.5.1.tar.gz`
Thank you!
The text was updated successfully, but these errors were encountered: