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 int
getCharacterCount()
int
getComplexWordCount()
String
getOriginal()
List<Sentence>
getSentences()
int
getSyllableCount()
int
getWordCount()
String
toString()
-
-
-
Method Detail
-
getCharacterCount
public int getCharacterCount()
-
getComplexWordCount
public int getComplexWordCount()
-
getOriginal
public String getOriginal()
-
getSyllableCount
public int getSyllableCount()
-
getWordCount
public int getWordCount()
-
-