Class Text

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

public class Text extends Object
Represents a block of text which has been analyzed
  • Constructor Details

  • Method Details

    • getCharacterCount

      public int getCharacterCount()
    • getComplexWordCount

      public int getComplexWordCount()
    • getOriginal

      public String getOriginal()
    • getSentences

      public List<Sentence> getSentences()
    • getSyllableCount

      public int getSyllableCount()
    • getWordCount

      public int getWordCount()
    • toString

      public String toString()
      Overrides:
      toString in class Object