Package org.apache.sling.cms.readability
Class Sentence
- java.lang.Object
-
- org.apache.sling.cms.readability.Sentence
-
public class Sentence extends Object
Represents a sentence which has been analyzed
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCharacterCount()
int
getComplexWordCount()
int
getSyllableCount()
String
getText()
int
getWordCount()
List<Word>
getWords()
String
toString()
-
-
-
Method Detail
-
getCharacterCount
public int getCharacterCount()
-
getComplexWordCount
public int getComplexWordCount()
-
getSyllableCount
public int getSyllableCount()
-
getText
public String getText()
-
getWordCount
public int getWordCount()
-
-