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


ExportedDocumentEntityRegion Class

Definition

Represents a region in a document for entity labeling.

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

Constructors

ExportedDocumentEntityRegion()

Initializes a new instance of ExportedDocumentEntityRegion.

Properties

Labels

The list of entity labels belonging to this region.

RegionLength

Length for the region text.

RegionOffset

Start position for the region.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ExportedDocumentEntityRegion>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExportedDocumentEntityRegion>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExportedDocumentEntityRegion>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExportedDocumentEntityRegion>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExportedDocumentEntityRegion>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to