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


ExportedCustomEntityRecognitionDocument Class

Definition

Represents an exported document for a custom entity recognition project.

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

Constructors

ExportedCustomEntityRecognitionDocument()

Initializes a new instance of ExportedCustomEntityRecognitionDocument.

Properties

Dataset

The dataset for this document. Allowed values are 'Train' and 'Test'.

Entities

The list of entity labels belonging to the document.

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<ExportedCustomEntityRecognitionDocument>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExportedCustomEntityRecognitionDocument>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExportedCustomEntityRecognitionDocument>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExportedCustomEntityRecognitionDocument>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExportedCustomEntityRecognitionDocument>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to