@Test public void testFlesch_kincaid_grade_level() { logger.info("flesch_kincaid_grade_level"); String strText = TEST_STRING; double expResult = 112.3; double result = ReadabilityStatistics.fleschKincaidGradeLevel(strText); assertEquals(expResult, result, Constants.DOUBLE_ACCURACY_HIGH); }
public static double fleschKincaidGradeLevel(String strText) { strText = cleanText(strText); return PHPMethods.round(((0.39 * averageWordsPerSentence(strText)) + (11.8 * averageSyllablesPerWord(strText)) - 15.59), 1); }
ReadabilityStatistics { public static double fleschKincaidGradeLevel(String strText) { strText = cleanText(strText); return PHPMethods.round(((0.39 * averageWordsPerSentence(strText)) + (11.8 * averageSyllablesPerWord(strText)) - 15.59), 1); } }
ReadabilityStatistics { public static double fleschKincaidGradeLevel(String strText) { strText = cleanText(strText); return PHPMethods.round(((0.39 * averageWordsPerSentence(strText)) + (11.8 * averageSyllablesPerWord(strText)) - 15.59), 1); }  }
ReadabilityStatistics { public static double fleschKincaidGradeLevel(String strText) { strText = cleanText(strText); return PHPMethods.round(((0.39 * averageWordsPerSentence(strText)) + (11.8 * averageSyllablesPerWord(strText)) - 15.59), 1); }  static double fleschKincaidReadingEase(String strText); static double fleschKincaidGradeLevel(String strText); static double gunningFogScore(String strText); static double colemanLiauIndex(String strText); static double smogIndex(String strText); static double automatedReadabilityIndex(String strText); static double daleChallScore(String strText); static double daleChallGrade(String strText); static double spacheScore(String strText); }
ReadabilityStatistics { public static double fleschKincaidGradeLevel(String strText) { strText = cleanText(strText); return PHPMethods.round(((0.39 * averageWordsPerSentence(strText)) + (11.8 * averageSyllablesPerWord(strText)) - 15.59), 1); }  static double fleschKincaidReadingEase(String strText); static double fleschKincaidGradeLevel(String strText); static double gunningFogScore(String strText); static double colemanLiauIndex(String strText); static double smogIndex(String strText); static double automatedReadabilityIndex(String strText); static double daleChallScore(String strText); static double daleChallGrade(String strText); static double spacheScore(String strText);  }