你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MatchLongestEntityPolicyType 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.
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
- Implements
Constructors
MatchLongestEntityPolicyType() |
Initializes a new instance of MatchLongestEntityPolicyType. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |