Essence.Readability.coleman_liau
coleman_liau
, go back to Essence.Readability module for more information.
coleman_liau(doc)
Specs
coleman_liau(%Essence.Document{ meta: term(), nested_tokens: term(), text: term(), type: term(), uri: term() }) :: float()
The Coleman-Liau readability test. Like the ARI but unlike most of the other indices, Coleman–Liau relies on characters instead of syllables per word. Although opinion varies on its accuracy as compared to the syllable/word and complex word indices, characters are more readily and accurately counted by computer programs than are syllables. The Coleman–Liau index was designed to be easily calculated mechanically from samples of hard-copy text. Unlike syllable-based readability indices, it does not require that the character content of words be analyzed, only their length in characters. Therefore, it could be used in conjunction with theoretically simple mechanical scanners that would only need to recognize character, word, and sentence boundaries, removing the need for full optical character recognition or manual keypunching.
The score output approximates the U.S. grade level thought necessary to comprehend the text.