public interface ReadabilityService
| Modifier and Type | Method and Description |
|---|---|
double |
calculateARI(String text)
Calculates Automated Readability Index for text
|
double |
calculateARI(Text text)
Calculates Automated Readability Index for text
|
double |
calculateAverageGradeLevel(String text)
Calculates the average grade level
|
double |
calculateAverageGradeLevel(Text text)
Calculates the average grade level
|
double |
calculateColemanLiauIndex(String text)
Calculates Coleman-Liau Index for text
|
double |
calculateColemanLiauIndex(Text text)
Calculates Coleman-Liau Index for text
|
double |
calculateFleschKincaidGradeLevel(String text)
Calculates Flesch-Kincaid Readability for text
|
double |
calculateFleschKincaidGradeLevel(Text text)
Calculates Flesch-Kincaid Readability for text
|
double |
calculateFleschReadingEase(String text)
Calculates Flesch-Kincaid Reading Ease for text
|
double |
calculateFleschReadingEase(Text text)
Calculates Flesch-Kincaid Reading Ease for text
|
double |
calculateGunningFog(String text)
Calculates Gunning-Fog Index for text
|
double |
calculateGunningFog(Text text)
Calculates Gunning-Fog Index for text
|
double |
calculateSMOG(String text)
Calculates Simple Measure of Gobbledygook Grade for text
|
double |
calculateSMOG(Text text)
Calculates Simple Measure of Gobbledygook Grade for text
|
Text |
extractSentences(String text)
Extracts the sentences from the text including the words and various counts.
|
Locale |
getLocale()
Gets the locale for this configuration.
|
double calculateARI(String text)
text - the text string to analyzedouble calculateARI(Text text)
text - the analyzed textdouble calculateAverageGradeLevel(String text)
text - the text string to analyzedouble calculateAverageGradeLevel(Text text)
text - the analyzed textdouble calculateColemanLiauIndex(String text)
text - the text string to analyzedouble calculateColemanLiauIndex(Text text)
text - the text string to analyzedouble calculateFleschKincaidGradeLevel(String text)
text - the text string to analyzedouble calculateFleschKincaidGradeLevel(Text text)
text - the text string to analyzedouble calculateFleschReadingEase(String text)
text - the text string to analyzedouble calculateFleschReadingEase(Text text)
text - the text string to analyzedouble calculateGunningFog(String text)
text - the text string to analyzedouble calculateGunningFog(Text text)
text - the text string to analyzedouble calculateSMOG(String text)
text - the text string to analyzedouble calculateSMOG(Text text)
text - the text string to analyzeText extractSentences(String text)
text - the text to analyzeLocale getLocale()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.