Summarize text
summarize_textGenerate an extractive summary by ranking sentences on meaningful word frequency, returning top-scoring sentences in original order. Works offline without external calls.
Instructions
Produce an extractive summary by scoring each sentence on the frequency of the meaningful words it contains and returning the highest-scoring sentences in their original order. Works fully offline; no model call is made.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to summarize. | |
| max_sentences | No | How many sentences the summary may contain. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |