TextAnalyticsModelFactory.PiiEntityCollection Método

Definição

Inicializa uma nova instância de PiiEntityCollection para fins de simulação.

public static Azure.AI.TextAnalytics.PiiEntityCollection PiiEntityCollection (System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.PiiEntity> entities, string redactedText, System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.TextAnalyticsWarning> warnings = default);
static member PiiEntityCollection : seq<Azure.AI.TextAnalytics.PiiEntity> * string * seq<Azure.AI.TextAnalytics.TextAnalyticsWarning> -> Azure.AI.TextAnalytics.PiiEntityCollection
Public Shared Function PiiEntityCollection (entities As IEnumerable(Of PiiEntity), redactedText As String, Optional warnings As IEnumerable(Of TextAnalyticsWarning) = Nothing) As PiiEntityCollection

Parâmetros

entities
IEnumerable<PiiEntity>

Define a coleção de PiiEntity.

redactedText
String

Define a propriedade RedactedText.

warnings
IEnumerable<TextAnalyticsWarning>

Define a propriedade Warnings.

Retornos

Uma nova instância de PiiEntityCollection para fins de simulação.

Aplica-se a