code: 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))
      )
  
file_path: textacy/src/textacy/text_stats/readability.py
imports: import logging
  import math
  import statistics
  from typing import Optional
  from spacy.tokens import Doc
  from ..None import errors
  from .None import basics, utils
label_desc: Use image node_id 10 for calling a global function with example usage: perspicuity_index(doc) and returns: unknown