@Test public void testFlesch_kincaid_reading_ease() { logger.info("flesch_kincaid_reading_ease"); String strText = TEST_STRING; double expResult = -188.4; double result = ReadabilityStatistics.fleschKincaidReadingEase(strText); Assert.assertEquals(expResult, result, Constants.DOUBLE_ACCURACY_HIGH); }
public static double fleschKincaidReadingEase(String strText) { strText = cleanText(strText); return PHPMethods.round((206.835 - (1.015 * averageWordsPerSentence(strText)) - (84.6 * averageSyllablesPerWord(strText))), 1); }
ReadabilityStatistics { public static double fleschKincaidReadingEase(String strText) { strText = cleanText(strText); return PHPMethods.round((206.835 - (1.015 * averageWordsPerSentence(strText)) - (84.6 * averageSyllablesPerWord(strText))), 1); } }
ReadabilityStatistics { public static double fleschKincaidReadingEase(String strText) { strText = cleanText(strText); return PHPMethods.round((206.835 - (1.015 * averageWordsPerSentence(strText)) - (84.6 * averageSyllablesPerWord(strText))), 1); }  }
ReadabilityStatistics { public static double fleschKincaidReadingEase(String strText) { strText = cleanText(strText); return PHPMethods.round((206.835 - (1.015 * averageWordsPerSentence(strText)) - (84.6 * averageSyllablesPerWord(strText))), 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 fleschKincaidReadingEase(String strText) { strText = cleanText(strText); return PHPMethods.round((206.835 - (1.015 * averageWordsPerSentence(strText)) - (84.6 * averageSyllablesPerWord(strText))), 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);  }