Class SummarySentence

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

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

    • SummarySentence

      public SummarySentence()
  • 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.