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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET