Condividi tramite


TextAnalyticsModelFactory.ExtractKeyPhrasesResult Method

Definition

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

id
String

Sets the Id property.

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

id
String

Sets the Id property.

statistics
TextDocumentStatistics

Sets the Statistics property.

keyPhrases
KeyPhraseCollection

Sets the KeyPhrases property.

Returns

A new instance of ExtractKeyPhrasesResult for mocking purposes.

Applies to