WOLFRAM

Wolfram Language & System Documentation Center Wolfram Language Home Page »

TextSummarize

This functionality requires LLM access »

TextSummarize[text]

generates a summary of text.

TextSummarize[text, spec]

summarizes the text according to the specification spec.

TextSummarize[texttopic,spec]

summarizes the part of text matching topic.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Summarize the contents of a file:

Find the main keywords describing a piece of text:

Scope  (14)

Input Types  (5)

Summarize a string:

Summarize a file:

Summarize a URL:

Summarize a list of objects:

Summarize results from a semantic :

Summary Specification  (8)

Provide a succinct description of the text content:

Rewrite the text in a condensed form:

Invent a title for the provided text:

Summarize the text in a single sentence:

Find the main keywords to describe the text content:

Find the main keywords in the order they appear in the text:

Summarize the specified text by extracting the key sentences:

Summarize the specified text using a bullet point list:

Specify the length of the list:

Topic Specification  (1)

Summarize the whole text:

Summarize only the part of the text matching a topic:

Options  (1)

Method  (1)

Long string with no newlines will be automatically split at whitespaces:

Define a custom split pattern to divide the chapters:

Compute the summary using the new text chunks:

Possible Issues  (1)

Summarizing from a SemanticSearchIndex only works when a topic is specified:

Wolfram Research (2024), TextSummarize, Wolfram Language function, https://reference.wolfram.com/language/ref/TextSummarize.html (updated 2024).

Text

Wolfram Research (2024), TextSummarize, Wolfram Language function, https://reference.wolfram.com/language/ref/TextSummarize.html (updated 2024).

CMS

Wolfram Language. 2024. "TextSummarize." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/TextSummarize.html.

APA

Wolfram Language. (2024). TextSummarize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TextSummarize.html

BibTeX

@misc{reference.wolfram_2025_textsummarize, author="Wolfram Research", title="{TextSummarize}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/TextSummarize.html}", note=[Accessed: 05-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_textsummarize, organization={Wolfram Research}, title={TextSummarize}, year={2024}, url={https://reference.wolfram.com/language/ref/TextSummarize.html}, note=[Accessed: 05-July-2025 ]}

Top