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