EntitySynonyms Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Object that allows the user to provide synonyms for context words that to enhance pii entity detection.
public class EntitySynonyms : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.EntitySynonyms>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.EntitySynonyms>
type EntitySynonyms = class
interface IJsonModel<EntitySynonyms>
interface IPersistableModel<EntitySynonyms>
Public Class EntitySynonyms
Implements IJsonModel(Of EntitySynonyms), IPersistableModel(Of EntitySynonyms)
- Inheritance
-
EntitySynonyms
- Implements
Constructors
EntitySynonyms(EntityCategory, IEnumerable<EntitySynonym>) |
Initializes a new instance of EntitySynonyms. |
Properties
EntityType |
The entity name. |
Synonyms |
The entity synonyms. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<EntitySynonyms>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<EntitySynonyms>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<EntitySynonyms>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<EntitySynonyms>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<EntitySynonyms>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |