NamedEntity Class

Definition

Defines the detected entity object containing the entity category and entity text detected, etc.

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

Properties

Category

Entity type.

ConfidenceScore

Confidence score between 0 and 1 of the extracted entity.

Length

Length for the entity text. Use of different 'stringIndexType' values can affect the length returned.

Offset

Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned.

Subcategory

(Optional) Entity sub type.

Text

Entity text as appears in the request.

Explicit Interface Implementations

IJsonModel<NamedEntity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NamedEntity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NamedEntity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NamedEntity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NamedEntity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to