Class SummarySentence
- java.lang.Object
-
- com.azure.ai.textanalytics.models.SummarySentence
-
public final class SummarySentence extends Object
TheSummarySentence
model.
-
-
Constructor Summary
Constructors Constructor Description SummarySentence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLength()
Gets the length of sentence.int
getOffset()
Gets the offset of sentence.double
getRankScore()
Gets the rank score of the extractive text summarization.String
getText()
Gets the text property: extractive summarization sentence text.
-
-
-
Method Detail
-
getText
public String getText()
Gets the text property: extractive summarization sentence text.- Returns:
- The
text
value.
-
getRankScore
public double getRankScore()
Gets the rank score of the extractive text summarization. Higher the score, higher importance of the sentence.- Returns:
- The rank score value.
-
getLength
public int getLength()
Gets the length of sentence.- Returns:
- The length of sentence.
-
getOffset
public int getOffset()
Gets the offset of sentence.- Returns:
- The offset of sentence.
-
-