Share via


TextAnalyticsModelFactory.ExtractiveSummarizeResult Method

Definition

Overloads

ExtractiveSummarizeResult(String, TextDocumentStatistics, IEnumerable<ExtractiveSummarySentence>, IEnumerable<TextAnalyticsWarning>)

Initializes a new instance of ExtractiveSummarizeResult for mocking purposes.

ExtractiveSummarizeResult(String, String, String)

Initializes a new instance of ExtractiveSummarizeResult for mocking purposes.

ExtractiveSummarizeResult(String, TextDocumentStatistics, IEnumerable<ExtractiveSummarySentence>, IEnumerable<TextAnalyticsWarning>)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of ExtractiveSummarizeResult for mocking purposes.

public static Azure.AI.TextAnalytics.ExtractiveSummarizeResult ExtractiveSummarizeResult (string id, Azure.AI.TextAnalytics.TextDocumentStatistics statistics, System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.ExtractiveSummarySentence> sentences, System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.TextAnalyticsWarning> warnings = default);
static member ExtractiveSummarizeResult : string * Azure.AI.TextAnalytics.TextDocumentStatistics * seq<Azure.AI.TextAnalytics.ExtractiveSummarySentence> * seq<Azure.AI.TextAnalytics.TextAnalyticsWarning> -> Azure.AI.TextAnalytics.ExtractiveSummarizeResult
Public Shared Function ExtractiveSummarizeResult (id As String, statistics As TextDocumentStatistics, sentences As IEnumerable(Of ExtractiveSummarySentence), Optional warnings As IEnumerable(Of TextAnalyticsWarning) = Nothing) As ExtractiveSummarizeResult

Parameters

id
String

Sets the Id property.

statistics
TextDocumentStatistics

Sets the Statistics property.

sentences
IEnumerable<ExtractiveSummarySentence>

Sets the Sentences property.

warnings
IEnumerable<TextAnalyticsWarning>

Sets the Warnings property.

Returns

A new instance of ExtractiveSummarizeResult for mocking purposes.

Applies to

ExtractiveSummarizeResult(String, String, String)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of ExtractiveSummarizeResult for mocking purposes.

public static Azure.AI.TextAnalytics.ExtractiveSummarizeResult ExtractiveSummarizeResult (string id, string code, string message);
static member ExtractiveSummarizeResult : string * string * string -> Azure.AI.TextAnalytics.ExtractiveSummarizeResult
Public Shared Function ExtractiveSummarizeResult (id As String, code As String, message As String) As ExtractiveSummarizeResult

Parameters

id
String

Sets the Id property.

code
String

Sets the ErrorCode property.

message
String

Sets the Message property.

Returns

A new instance of ExtractiveSummarizeResult for mocking purposes.

Applies to