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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET