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
#%pip install en_core_web_lg
import spacy
from spacy import displacy
nlp = spacy.load('en_core_web_lg')
doc = nlp("Find the entity with closing bracket. HyperTree Proof Search (HTPS) able to solve International Math Olympiad (IMO) problems" )
displacy.render(doc, style="ent", jupyter=True)
print( [e.text for e in doc.ents])
['HyperTree Proof Search (', 'International Math Olympiad (']
SHOULD BE
.>>> ['HyperTree Proof Search', 'International Math Olympiad']
Your Environment
Operating System: AWS LINUX
Python Version Used: 3.8
spaCy Version Used: 3.0.6
The text was updated successfully, but these errors were encountered:
How to reproduce the behaviour
#%pip install en_core_web_lg
import spacy
from spacy import displacy
nlp = spacy.load('en_core_web_lg')
doc = nlp("Find the entity with closing bracket. HyperTree Proof Search (HTPS) able to solve International Math Olympiad (IMO) problems" )
displacy.render(doc, style="ent", jupyter=True)
print( [e.text for e in doc.ents])
SHOULD BE
.>>> ['HyperTree Proof Search', 'International Math Olympiad']
Your Environment
The text was updated successfully, but these errors were encountered: