TextAnalyticsModelFactory.ExtractKeyPhrasesResult 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
ExtractKeyPhrasesResult(String, TextAnalyticsError) |
Initializes a new instance of ExtractKeyPhrasesResult for mocking purposes. |
ExtractKeyPhrasesResult(String, TextDocumentStatistics, KeyPhraseCollection) |
Initializes a new instance of ExtractKeyPhrasesResult for mocking purposes. |
ExtractKeyPhrasesResult(String, TextAnalyticsError)
- Source:
- TextAnalyticsModelFactory.cs
Initializes a new instance of ExtractKeyPhrasesResult for mocking purposes.
public static Azure.AI.TextAnalytics.ExtractKeyPhrasesResult ExtractKeyPhrasesResult (string id, Azure.AI.TextAnalytics.TextAnalyticsError error);
static member ExtractKeyPhrasesResult : string * Azure.AI.TextAnalytics.TextAnalyticsError -> Azure.AI.TextAnalytics.ExtractKeyPhrasesResult
Public Shared Function ExtractKeyPhrasesResult (id As String, error As TextAnalyticsError) As ExtractKeyPhrasesResult
Parameters
- error
- TextAnalyticsError
Sets the Error property.
Returns
A new instance of ExtractKeyPhrasesResult for mocking purposes.
Applies to
ExtractKeyPhrasesResult(String, TextDocumentStatistics, KeyPhraseCollection)
- Source:
- TextAnalyticsModelFactory.cs
Initializes a new instance of ExtractKeyPhrasesResult for mocking purposes.
public static Azure.AI.TextAnalytics.ExtractKeyPhrasesResult ExtractKeyPhrasesResult (string id, Azure.AI.TextAnalytics.TextDocumentStatistics statistics, Azure.AI.TextAnalytics.KeyPhraseCollection keyPhrases);
static member ExtractKeyPhrasesResult : string * Azure.AI.TextAnalytics.TextDocumentStatistics * Azure.AI.TextAnalytics.KeyPhraseCollection -> Azure.AI.TextAnalytics.ExtractKeyPhrasesResult
Public Shared Function ExtractKeyPhrasesResult (id As String, statistics As TextDocumentStatistics, keyPhrases As KeyPhraseCollection) As ExtractKeyPhrasesResult
Parameters
- statistics
- TextDocumentStatistics
Sets the Statistics property.
- keyPhrases
- KeyPhraseCollection
Sets the KeyPhrases property.
Returns
A new instance of ExtractKeyPhrasesResult for mocking purposes.
Applies to
Azure SDK for .NET