(doc: Doc)
return (11.8 * n_syllables / n_words) + (0.39 * n_words / n_sents) - 15.59
Readability test used widely in education, whose value estimates the U.S.
    grade level / number of years of education required to understand a text.

    Higher value => more difficult text.

    Args:
        doc

    References:
        https://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_readability_tests#Flesch.E2.80.93Kincaid_grade_level
Readability test used widely in education, whose value estimates the U.S.
    grade level / number of years of education required to understand a text.
Readability test used widely in education whose value estimates the U . S . grade level / number of years of education required to understand a text .
def flesch_kincaid_grade_level(doc: Doc) -> float:
    """
    Readability test used widely in education, whose value estimates the U.S.
    grade level / number of years of education required to understand a text.

    Higher value => more difficult text.

    Args:
        doc

    References:
        https://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_readability_tests#Flesch.E2.80.93Kincaid_grade_level
    """  # noqa: E501
    words = tuple(utils.get_words(doc))
    n_sents = basics.n_sents(doc)
    n_words = basics.n_words(words)
    n_syllables = basics.n_syllables(words, lang=doc.lang_)
    return (11.8 * n_syllables / n_words) + (0.39 * n_words / n_sents) - 15.59
def flesch_kincaid_grade_level ( doc : Doc ) -> float : # noqa: E501 words = tuple ( utils . get_words ( doc ) ) n_sents = basics . n_sents ( doc ) n_words = basics . n_words ( words ) n_syllables = basics . n_syllables ( words , lang = doc . lang_ ) return ( 11.8 * n_syllables / n_words ) + ( 0.39 * n_words / n_sents ) - 15.59