TextAnalyticsModelFactory.ExtractiveSummarizeResult 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
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
- 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
Returns
A new instance of ExtractiveSummarizeResult for mocking purposes.
Applies to
Azure SDK for .NET