Share via


ExportedDocumentSentimentLabel Class

Definition

Represents an entity label for a document.

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

Constructors

Name Description
ExportedDocumentSentimentLabel()

Initializes a new instance of ExportedDocumentSentimentLabel.

Properties

Name Description
Category

The sentiment category.

Length

Length for the sentiment text.

Offset

Start position for the sentiment text.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ExportedDocumentSentimentLabel>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExportedDocumentSentimentLabel>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExportedDocumentSentimentLabel>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExportedDocumentSentimentLabel>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExportedDocumentSentimentLabel>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to