fleschKincaidGradeLevel method

  1. @override
int fleschKincaidGradeLevel()
override

Returns the readability score of sourceText on a U.S. school grade level (Flesch-Kincaid Grade Level test).

For example, a score of 8.0 means that an eighth grader can understand the document.

A score of 7 to 8 indicates good readibility without being too simple.

Implementation

@override
int fleschKincaidGradeLevel() =>
    (0.39 * averageSentenceLength() + 11.8 * averageSyllableCount() - 15.59)
        .floor();