SummarySentence Class

Represents a single sentence from the extractive text summarization.

Inheritance
azure.ai.textanalytics._models.DictMixin
SummarySentence

Constructor

SummarySentence(**kwargs)

Variables

text
str

The extracted sentence text.

rank_score
float

A float value representing the relevance of the sentence within the summary. Higher values indicate higher importance.

offset
int

The sentence offset from the start of the document. The value depends on the value of the string_index_type parameter set in the original request, which is UnicodeCodePoint by default.

length
int

The length of the sentence. This value depends on the value of the string_index_type parameter set in the original request, which is UnicodeCodePoint by default.