TextAnalyticsModelFactory.RecognizeEntitiesResult 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.
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
- 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
- statistics
- TextDocumentStatistics
Sets the Statistics property.
- entities
- CategorizedEntityCollection
Sets the collection of CategorizedEntityCollection.
Returns
A new instance of RecognizeEntitiesResult for mocking purposes.
Applies to
Azure SDK for .NET