Dela via


TextAnalyticsModelFactory.RecognizeEntitiesResult Method

Definition

Overloads

RecognizeEntitiesResult(String, TextAnalyticsError)

Initializes a new instance of RecognizeEntitiesResult for mocking purposes.

RecognizeEntitiesResult(String, TextDocumentStatistics, CategorizedEntityCollection)

Initializes a new instance of RecognizeEntitiesResult for mocking purposes.

RecognizeEntitiesResult(String, TextAnalyticsError)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of RecognizeEntitiesResult for mocking purposes.

public static Azure.AI.TextAnalytics.RecognizeEntitiesResult RecognizeEntitiesResult (string id, Azure.AI.TextAnalytics.TextAnalyticsError error);
static member RecognizeEntitiesResult : string * Azure.AI.TextAnalytics.TextAnalyticsError -> Azure.AI.TextAnalytics.RecognizeEntitiesResult
Public Shared Function RecognizeEntitiesResult (id As String, error As TextAnalyticsError) As RecognizeEntitiesResult

Parameters

id
String

Sets the Id property.

error
TextAnalyticsError

Sets the Error property.

Returns

A new instance of RecognizeEntitiesResult for mocking purposes.

Applies to

RecognizeEntitiesResult(String, TextDocumentStatistics, CategorizedEntityCollection)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of RecognizeEntitiesResult for mocking purposes.

public static Azure.AI.TextAnalytics.RecognizeEntitiesResult RecognizeEntitiesResult (string id, Azure.AI.TextAnalytics.TextDocumentStatistics statistics, Azure.AI.TextAnalytics.CategorizedEntityCollection entities);
static member RecognizeEntitiesResult : string * Azure.AI.TextAnalytics.TextDocumentStatistics * Azure.AI.TextAnalytics.CategorizedEntityCollection -> Azure.AI.TextAnalytics.RecognizeEntitiesResult
Public Shared Function RecognizeEntitiesResult (id As String, statistics As TextDocumentStatistics, entities As CategorizedEntityCollection) As RecognizeEntitiesResult

Parameters

id
String

Sets the Id property.

statistics
TextDocumentStatistics

Sets the Statistics property.

entities
CategorizedEntityCollection

Sets the collection of CategorizedEntityCollection.

Returns

A new instance of RecognizeEntitiesResult for mocking purposes.

Applies to