TextAnalyticsModelFactory.PiiEntityCollection Method
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.
Initializes a new instance of PiiEntityCollection for mocking purposes.
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
Parameters
- entities
- IEnumerable<PiiEntity>
Sets the collection of PiiEntity.
- redactedText
- String
Sets the RedactedText property.
- warnings
- IEnumerable<TextAnalyticsWarning>
Sets the Warnings property.
Returns
A new instance of PiiEntityCollection for mocking purposes.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.