Extractive summarization
Extractive summarization produces a shorter representation of source content by retaining selected original words, phrases, sentences, or passages and omitting other material.
Starting Data Analytics with Generative AI and Python
Extractive summarization creates a summary by selecting and combining important sentences, terms, or other passages from the source text.
- How it is used
- Summarizes short texts by selecting informative source material for quick, readable access to main information.
- How deep it goes
- Explains selection, rule-based scoring, and a frequency workflow, but does not develop advanced model internals.
- Examples
- Uses Portuguese customer reviews, frequency-ranked words, selected sentences, and comparisons with ChatGPT summaries.
- What you can do after
- Apply it via pandas and NLTK to preprocess reviews, count word frequencies, and generate short source-grounded summaries.
Read how Starting Data Analytics with Generative AI and Python explains extractive summarization →
Natural Language Processing in Action, Second Edition
Extractive summarization creates a summary by selecting and arranging passages or sentences from the source document.
- How it is used
- Uses source wording for concise document summaries, news curation, and other information-retrieval workflows.
- How deep it goes
- Defines relevance-based selection and verbatim reuse, but does not detail ranking, ordering, or implementation procedures.
- Examples
- Uses code autocomplete, repeated phrases, long-document summarization, and automated news curation as examples.
- What you can do after
- Apply it via transformers to summarize long documents or curate news articles automatically.
Read how Natural Language Processing in Action, Second Edition explains extractive summarization →
Effective Conversational AI
Extractive summarization is a summarization technique that constructs a shorter representation by selecting or extracting information from source content.
- How it is used
- Supports structured handoff summaries by extracting important transcript details for downstream agents.
- How deep it goes
- Explains prompt instructions, examples, output typing, model parameters, and hallucination verification, but not extraction internals.
- Examples
- Uses claims conversations containing TaxID, MemberID, ClaimID, dates, provider details, and a request for human assistance.
- What you can do after
- Apply it via an LLM by specifying fields, demonstrating desired output, tuning parameters, and checking extracted values against source text.
Read how Effective Conversational AI explains extractive summarization →
Building LLM Applications with DSPy
An extractive summary is a shortened text composed of passages selected from a source.
- How it is used
- Distinguishes summaries assembled from source passages from summaries phrased anew.
- How deep it goes
- Defines passage selection and discusses coherence, relevance, and readability, but gives no extraction algorithm.
- What you can do after
- Understand how extractive summaries preserve source wording and why selected passages may read poorly.
Read how Building LLM Applications with DSPy explains extractive summarization →
Related concepts
- summarizationkind of · Summarization is the process of condensing source content into a shorter representation that preserves its important information or meaning.
- abstractive summarizationcontrasts with · Abstractive summarization produces a concise account of source information using newly composed wording rather than only selecting text from the source.
- generationkind of · Generation is the computational production of outputs from supplied inputs or context, often by applying a model to produce predictions or new content.
- retrieved documentproduces · A retrieved document is information selected by an information-retrieval process from a source and supplied as context or evidence for a query or task.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.



