Class Sentence

java.lang.Object
org.apache.sling.cms.readability.Sentence

public class Sentence extends Object
Represents a sentence which has been analyzed
  • Constructor Details

  • Method Details

    • getCharacterCount

      public int getCharacterCount()
    • getComplexWordCount

      public int getComplexWordCount()
    • getSyllableCount

      public int getSyllableCount()
    • getText

      public String getText()
    • getWordCount

      public int getWordCount()
    • getWords

      public List<Word> getWords()
    • toString

      public String toString()
      Overrides:
      toString in class Object