TextAnalysisModelFactory.ExtractedSummarySentence 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.
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
Azure SDK for .NET