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
doc = nlp("My beautiful and cute dog jumped over the fence")
print(list(doc.noun_chunks))
sentences = nlp("I purchased a science fiction book last week. I loved everything related to this fragrance: light, floral and feminine... I purchased a bottle of wine.")
key = nlp("perfume")
for sent in sentences.sents:
nchunks = [nchunk.text for nchunk in sent.noun_chunks]