ExportedCustomTextSentimentDocument 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 exported document for a custom text sentiment project.
public class ExportedCustomTextSentimentDocument : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.Authoring.ExportedCustomTextSentimentDocument>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.Authoring.ExportedCustomTextSentimentDocument>
type ExportedCustomTextSentimentDocument = class
interface IJsonModel<ExportedCustomTextSentimentDocument>
interface IPersistableModel<ExportedCustomTextSentimentDocument>
Public Class ExportedCustomTextSentimentDocument
Implements IJsonModel(Of ExportedCustomTextSentimentDocument), IPersistableModel(Of ExportedCustomTextSentimentDocument)
- Inheritance
-
ExportedCustomTextSentimentDocument
- Implements
Constructors
ExportedCustomTextSentimentDocument() |
Initializes a new instance of ExportedCustomTextSentimentDocument. |
Properties
Dataset |
The dataset for this document. Allowed values are 'Train' and 'Test'. |
Language |
Represents the document language. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc. |
Location |
The location of the document in the storage. |
SentimentSpans |
Gets the sentiment spans. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ExportedCustomTextSentimentDocument>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ExportedCustomTextSentimentDocument>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ExportedCustomTextSentimentDocument>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ExportedCustomTextSentimentDocument>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ExportedCustomTextSentimentDocument>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |