Share via


EntitySynonym Class

Definition

The entity synonyms used to enhance pii entity detection.

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

Constructors

EntitySynonym(String)

Initializes a new instance of EntitySynonym.

Properties

Language

The 2 letter ISO 639-1 language the synonym.

Synonym

The synonym to be used for context.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EntitySynonym>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EntitySynonym>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EntitySynonym>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EntitySynonym>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EntitySynonym>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to