Поделиться через


ExportedCustomSingleLabelClassificationDocument Class

Definition

Represents an exported document for a custom single-label classification project.

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

Constructors

ExportedCustomSingleLabelClassificationDocument()

Initializes a new instance of ExportedCustomSingleLabelClassificationDocument.

Properties

Class

The class of the documents.

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ExportedCustomSingleLabelClassificationDocument>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExportedCustomSingleLabelClassificationDocument>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExportedCustomSingleLabelClassificationDocument>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExportedCustomSingleLabelClassificationDocument>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExportedCustomSingleLabelClassificationDocument>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to