Articles → NLP → Noun_Chunks In Spacy

Noun_Chunks In Spacy






Purpose





What Is A Noun Phrase?




Noun PhraseHead NounModifiers
the red carcarthe, red
a tall buildingbuildinga, tall
my new phonephonemy, new



Example


import spacynlp = spacy.load("en_core_web_sm")doc = nlp("The quick brown fox jumps over the lazy dog.")for chunk in doc.noun_chunks:    print(chunk.text, " → Head:", chunk.root.text)



Output


Picture showing





Posted By  -  Karan Gupta
 
Posted On  -  Friday, December 26, 2025

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250