(doc: Doc)
return 206.835 - (n_words / n_sents) - (62.3 * (n_syllables / n_words))
Readability test for Spanish-language texts, whose value is in the range [0, 100];
    very similar to the Spanish-specific formulation of :func:`flesch_reading_ease()`,
    but included additionally since it's become a common readability standard.

    Higher value => easier text.

    Args:
        doc

    References:
        Pazos, Francisco Szigriszt. Sistemas predictivos de legibilidad del mensaje
        escrito: fórmula de perspicuidad. Universidad Complutense de Madrid,
        Servicio de Reprografía, 1993.
Readability test for Spanish-language texts, whose value is in the range [0, 100];
    very similar to the Spanish-specific formulation of :func:`flesch_reading_ease()`,
    but included additionally since it's become a common readability standard.
Readability test for Spanish - language texts whose value is in the range [ 0 100 ] ; very similar to the Spanish - specific formulation of : func : flesch_reading_ease () but included additionally since it s become a common readability standard .
def perspicuity_index(doc: Doc) -> float:
    """
    Readability test for Spanish-language texts, whose value is in the range [0, 100];
    very similar to the Spanish-specific formulation of :func:`flesch_reading_ease()`,
    but included additionally since it's become a common readability standard.

    Higher value => easier text.

    Args:
        doc

    References:
        Pazos, Francisco Szigriszt. Sistemas predictivos de legibilidad del mensaje
        escrito: fórmula de perspicuidad. Universidad Complutense de Madrid,
        Servicio de Reprografía, 1993.
    """
    if doc.lang_ != "es":
        LOGGER.warning(
            "doc lang = '%s', but this readability statistic is intended for use on "
            "'es'-language texts only",
            doc.lang_,
        )
    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 206.835 - (n_words / n_sents) - (62.3 * (n_syllables / n_words))
def perspicuity_index ( doc : Doc ) -> float : if doc . lang_ != "es" : LOGGER . warning ( "doc lang = '%s', but this readability statistic is intended for use on " "'es'-language texts only" , doc . lang_ , ) 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 206.835 - ( n_words / n_sents ) - ( 62.3 * ( n_syllables / n_words ) )