TextAnalyticsModelFactory.ExtractKeyPhrasesResultCollection(IEnumerable<ExtractKeyPhrasesResult>, TextDocumentBatchStatistics, String) 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

list
System.Collections.Generic.IEnumerable<ExtractKeyPhrasesResult>

Sets the collection of ExtractKeyPhrasesResult.

statistics
TextDocumentBatchStatistics

Sets the Statistics property.

modelVersion
System.String

Sets the ModelVersion property.

Returns

ExtractKeyPhrasesResultCollection

A new instance of ExtractKeyPhrasesResultCollection for mocking purposes.

Applies to