ExportedDocumentSentimentLabel Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
ExportedDocumentSentimentLabel() |
Initializes a new instance of ExportedDocumentSentimentLabel. |
Properties
Category |
The sentiment category. |
Length |
Length for the sentiment text. |
Offset |
Start position for the sentiment text. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
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. |