Class ExtractiveSummarySentence
java.lang.Object
com.azure.ai.textanalytics.models.ExtractiveSummarySentence
The
ExtractiveSummarySentence model.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the length of sentence.intGets the offset of sentence.doubleGets the rank score of the extractive text summarization.getText()Gets the text property: extractive summarization sentence text.
-
Constructor Details
-
ExtractiveSummarySentence
public ExtractiveSummarySentence()Constructs aExtractiveSummarySentencemodel.
-
-
Method Details
-
getText
Gets the text property: extractive summarization sentence text.- Returns:
- The
textvalue.
-
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.
-