How this tool computes its result
countSyllables is a heuristic: words of 3 characters or fewer count as 1 syllable; otherwise it strips a trailing "es"/"ed"/silent-e pattern and a leading "y", then counts groups of consecutive vowels (including y) via /[aeiouy]{1,2}/g. From total sentences (split on [.!?]+), total words (split on whitespace), and total syllables, it computes the Flesch Reading Ease score (206.835 − 1.015×avgWordsPerSentence − 84.6×avgSyllablesPerWord) and the separate Flesch-Kincaid Grade Level (0.39×avgWordsPerSentence + 11.8×avgSyllablesPerWord − 15.59), then buckets the Reading Ease score into six ease/grade labels from "Very Easy" (≥90) down to "Very Difficult" (<30).
