Chunking
Reading “the tired commuter missed her usual train”, you instinctively group the words: “the tired commuter” is one thing, “missed” is what happened, “her usual train” is another thing. You did that without drawing a grammar tree. Chunking, also called shallow parsing, is software doing the same — carving a sentence into flat, non-overlapping phrases and stopping there.
How the task is framed
Chunking is cast as per-token labelling rather than parsing. Each token receives a tag from a BIO scheme — B-NP for the first word of a noun phrase, I-NP for a continuation, O for anything outside a chunk — so the whole problem reduces to sequence labelling that a CRF, a BiLSTM or a fine-tuned encoder can learn. The usual chunk types:
- Noun phrases, the most common target: “her usual train”.
- Verb groups: “had been waiting”.
- Prepositional phrases: “on the platform”.
Where it earns its keep
A full constituency or dependency parse is slower, more fragile on messy text, and more than most pipelines need. Chunks are enough to pull candidate entities out of job adverts, collect noun phrases as keyword candidates for an index, or supply the arguments a relation extraction step then links. spaCy exposes noun chunks directly, NLTK's RegexpParser builds a chunker from a handful of patterns, and the CoNLL-2000 shared task remains the reference benchmark.
Why it matters
Chunking is the cheapest step up from labelling individual words: you gain phrase structure — the unit meaning usually lives in — without the cost of a complete syntactic analysis. A pipeline that skips it treats “New York Stock Exchange” as four unrelated tokens.
Chunking, or shallow parsing, segments a sentence into flat, non-overlapping phrases — noun groups, verb groups, prepositional phrases — without building a full parse tree. It is implemented as token-level sequence labelling with a BIO scheme, so the models used for entity recognition apply unchanged. Chunks hand downstream steps such as information extraction and keyword indexing the phrase-sized units meaning lives in, at a fraction of a parser's cost and fragility.
When you read “the tired commuter missed her usual train”, you hear it in blocks: who, what happened, and what to. You do not consciously diagram the grammar — you just group words that belong together.
Chunking teaches software that same shortcut. It marks where small phrases start and end, so “her usual train” is handled as one unit rather than three loose words. It is deliberately shallow: no full grammatical analysis, just the blocks. That is usually enough to lift a job title out of an advert or an address out of an email, and being simple, it is fast and hard to confuse.