Share via


ExtractedSummarySentence Class

Definition

Represents an extracted sentences from the input document.

public class ExtractedSummarySentence : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.ExtractedSummarySentence>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.ExtractedSummarySentence>
type ExtractedSummarySentence = class
    interface IJsonModel<ExtractedSummarySentence>
    interface IPersistableModel<ExtractedSummarySentence>
Public Class ExtractedSummarySentence
Implements IJsonModel(Of ExtractedSummarySentence), IPersistableModel(Of ExtractedSummarySentence)
Inheritance
ExtractedSummarySentence
Implements

Properties

Length

The length of the sentence.

Offset

The sentence offset from the start of the document, based on the value of the parameter StringIndexType.

RankScore

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

Text

The extracted sentence text.

Explicit Interface Implementations

IJsonModel<ExtractedSummarySentence>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ExtractedSummarySentence>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExtractedSummarySentence>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExtractedSummarySentence>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ExtractedSummarySentence>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to