Function smog

Source
pub fn smog(text: &str) -> f64
Expand description

Simple Measure of Gobbledygook (SMOG)

Estimates the years of education needed to understand a piece of writing

Caution: SMOG formula was normalized on 30-sentence samples

Requires counting sentences, and “complex words” (see get_complex_word_count)

See https://en.wikipedia.org/wiki/SMOG for more information