你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TextAnalysisModelFactory.ExtractedSummarySentence Method

Definition

Initializes a new instance of ExtractedSummarySentence.

public static Azure.AI.Language.Text.ExtractedSummarySentence ExtractedSummarySentence(string text = default, double rankScore = 0, int offset = 0, int length = 0);
static member ExtractedSummarySentence : string * double * int * int -> Azure.AI.Language.Text.ExtractedSummarySentence
Public Shared Function ExtractedSummarySentence (Optional text As String = Nothing, Optional rankScore As Double = 0, Optional offset As Integer = 0, Optional length As Integer = 0) As ExtractedSummarySentence

Parameters

text
String

The extracted sentence text.

rankScore
Double

A double value representing the relevance of the sentence within the summary. Higher values indicate higher importance.

offset
Int32

The sentence offset from the start of the document, based on the value of the parameter StringIndexType.

length
Int32

The length of the sentence.

Returns

A new ExtractedSummarySentence instance for mocking.

Applies to