Megosztás a következőn keresztül:


MatchLongestEntityPolicyType Class

Definition

Represents the Match longest overlap policy. No overlapping entities as far as it is possible. 1. If there are overlapping entities, the longest one will be returned. 2. If the set of characters predicted for 2 or more entities are exactly the same, select the entity that has the higher confidence score.3. If the entity scores are identical, return all entities that are still present after applying the previous rules. 3. If there is partial overlap (as in Hello Text Analytics) follow the above steps starting from 1.

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

Constructors

MatchLongestEntityPolicyType()

Initializes a new instance of MatchLongestEntityPolicyType.

Explicit Interface Implementations

IJsonModel<EntityOverlapPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from EntityOverlapPolicy)
IJsonModel<EntityOverlapPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from EntityOverlapPolicy)
IJsonModel<MatchLongestEntityPolicyType>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MatchLongestEntityPolicyType>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EntityOverlapPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from EntityOverlapPolicy)
IPersistableModel<EntityOverlapPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from EntityOverlapPolicy)
IPersistableModel<EntityOverlapPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from EntityOverlapPolicy)
IPersistableModel<MatchLongestEntityPolicyType>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MatchLongestEntityPolicyType>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MatchLongestEntityPolicyType>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to