Bagikan melalui


TextAnalyticsModelFactory.ExtractiveSummarySentence Method

Definition

Initializes a new instance of ExtractiveSummarySentence for mocking purposes.

public static Azure.AI.TextAnalytics.ExtractiveSummarySentence ExtractiveSummarySentence (string text, double rankScore, int offset, int length);
static member ExtractiveSummarySentence : string * double * int * int -> Azure.AI.TextAnalytics.ExtractiveSummarySentence
Public Shared Function ExtractiveSummarySentence (text As String, rankScore As Double, offset As Integer, length As Integer) As ExtractiveSummarySentence

Parameters

text
String

Sets the Text property.

rankScore
Double

Sets the RankScore property.

offset
Int32

Sets the Offset property.

length
Int32

Sets the Length property.

Returns

A new instance of ExtractiveSummarySentence for mocking purposes.

Applies to