Package org.apache.sling.cms.readability
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCharacterCount()intgetComplexWordCount()StringgetOriginal()List<Sentence>getSentences()intgetSyllableCount()intgetWordCount()StringtoString()
-
-
-
Method Detail
-
getCharacterCount
public int getCharacterCount()
-
getComplexWordCount
public int getComplexWordCount()
-
getOriginal
public String getOriginal()
-
getSyllableCount
public int getSyllableCount()
-
getWordCount
public int getWordCount()
-
-