Class SummarySentence
java.lang.Object
com.azure.ai.textanalytics.models.SummarySentence
The
SummarySentence
model.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the length of sentence.int
Gets the offset of sentence.double
Gets the rank score of the extractive text summarization.getText()
Gets the text property: extractive summarization sentence text.
-
Constructor Details
-
SummarySentence
public SummarySentence()
-
-
Method Details
-
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.
-