(doc: Doc)
return (4.71 * n_chars / n_words) + (0.5 * n_words / n_sents) - 21.43
Readability test for English-language texts, particularly for technical writing,
    whose value estimates the U.S. grade level required to understand a text.
    Similar to several other tests (e.g. :func:`flesch_kincaid_grade_level()`),
    but uses characters per word instead of syllables like :func:`coleman_liau_index()`.

    Higher value => more difficult text.

    Args:
        doc

    References:
        https://en.wikipedia.org/wiki/Automated_readability_index
Readability test for English-language texts, particularly for technical writing,
    whose value estimates the U.S. grade level required to understand a text.
    Similar to several other tests (e.g. :func:`flesch_kincaid_grade_level()`),
    but uses characters per word instead of syllables like :func:`coleman_liau_index()`.
Readability test for English - language texts particularly for technical writing whose value estimates the U . S . grade level required to understand a text . Similar to several other tests ( e . g . : func : flesch_kincaid_grade_level () ) but uses characters per word instead of syllables like : func : coleman_liau_index () .
def automated_readability_index(doc: Doc) -> float:
    """
    Readability test for English-language texts, particularly for technical writing,
    whose value estimates the U.S. grade level required to understand a text.
    Similar to several other tests (e.g. :func:`flesch_kincaid_grade_level()`),
    but uses characters per word instead of syllables like :func:`coleman_liau_index()`.

    Higher value => more difficult text.

    Args:
        doc

    References:
        https://en.wikipedia.org/wiki/Automated_readability_index
    """
    words = tuple(utils.get_words(doc))
    n_sents = basics.n_sents(doc)
    n_words = basics.n_words(words)
    n_chars = basics.n_chars(words)
    return (4.71 * n_chars / n_words) + (0.5 * n_words / n_sents) - 21.43
def automated_readability_index ( doc : Doc ) -> float : words = tuple ( utils . get_words ( doc ) ) n_sents = basics . n_sents ( doc ) n_words = basics . n_words ( words ) n_chars = basics . n_chars ( words ) return ( 4.71 * n_chars / n_words ) + ( 0.5 * n_words / n_sents ) - 21.43