Delen via


TextAnalyticsModelFactory.ExtractKeyPhrasesResultCollection Method

Definition

Initializes a new instance of ExtractKeyPhrasesResultCollection for mocking purposes.

public static Azure.AI.TextAnalytics.ExtractKeyPhrasesResultCollection ExtractKeyPhrasesResultCollection (System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.ExtractKeyPhrasesResult> list, Azure.AI.TextAnalytics.TextDocumentBatchStatistics statistics, string modelVersion);
static member ExtractKeyPhrasesResultCollection : seq<Azure.AI.TextAnalytics.ExtractKeyPhrasesResult> * Azure.AI.TextAnalytics.TextDocumentBatchStatistics * string -> Azure.AI.TextAnalytics.ExtractKeyPhrasesResultCollection
Public Shared Function ExtractKeyPhrasesResultCollection (list As IEnumerable(Of ExtractKeyPhrasesResult), statistics As TextDocumentBatchStatistics, modelVersion As String) As ExtractKeyPhrasesResultCollection

Parameters

statistics
TextDocumentBatchStatistics

Sets the Statistics property.

modelVersion
String

Sets the ModelVersion property.

Returns

A new instance of ExtractKeyPhrasesResultCollection for mocking purposes.

Applies to