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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET