Consider the following scenario: If I write the text below it gives me an expected Grade 3, but if I write just "Congratulations!" it gives me an unexpected Grade 42 (16+):
~/readability/ $ ./readability
Text: Congratulations! Today is your day. You're off to Great Places! You're off and away!
Letters: 65
Words: 14
Sentences: 4
3.042857
Grade 3
~/readability/ $ ./readability
Text: Congratulations!
Letters: 15
Words: 1
Sentences: 1
42.799999
Grade 16+