Class ExtractiveSummarySentence

java.lang.Object
com.azure.ai.textanalytics.models.ExtractiveSummarySentence

public final class ExtractiveSummarySentence extends Object
The ExtractiveSummarySentence model.
  • Constructor Details

    • ExtractiveSummarySentence

      public ExtractiveSummarySentence()
      Constructs a ExtractiveSummarySentence model.
  • Method Details

    • 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.