code: def debug_data_cli(
      # fmt: off
      ctx: typer.Context,  # This is only used to read additional arguments
      config_path: Path = Arg(..., help="Path to config file", exists=True, allow_dash=True),
      code_path: Optional[Path] = Opt(None, "--code-path", "--code", "-c", help="Path to Python file with additional code (registered functions) to be imported"),
      ignore_warnings: bool = Opt(False, "--ignore-warnings", "-IW", help="Ignore warnings, only show stats and errors"),
      verbose: bool = Opt(False, "--verbose", "-V", help="Print additional information and explanations"),
      no_format: bool = Opt(False, "--no-format", "-NF", help="Don't pretty-print the results"),
      # fmt: on
  ):
      """
      Analyze, debug and validate your training and development data. Outputs
      useful stats, and can help you find problems like invalid entity annotations,
      cyclic dependencies, low data labels and more.
  
      DOCS: https://spacy.io/api/cli#debug-data
      """
      if ctx.command.name == "debug-data":
          msg.warn(
              "The debug-data command is now available via the 'debug data' "
              "subcommand (without the hyphen). You can run python -m spacy debug "
              "--help for an overview of the other available debugging commands."
          )
      overrides = parse_config_overrides(ctx.args)
      import_code(code_path)
      debug_data(
          config_path,
          config_overrides=overrides,
          ignore_warnings=ignore_warnings,
          verbose=verbose,
          no_format=no_format,
          silent=False,
      )
  
imports: import math
  import sys
  from collections import Counter
  from pathlib import Path
  from typing import Any, Dict, Iterable, List, Optional, Sequence, Set, Tuple, Union, cast, overload
  import numpy
  import srsly
  import typer
  from wasabi import MESSAGES, Printer, msg
  from ..None import util
  from ..compat import Literal
  from ..language import Language
  from ..morphology import Morphology
  from ..pipeline import Morphologizer, SpanCategorizer, TrainablePipe
  from ..pipeline._edit_tree_internals.edit_trees import EditTrees
  from ..pipeline._parser_internals import nonproj
  from ..pipeline._parser_internals.nonproj import DELIMITER
  from ..schemas import ConfigSchemaTraining
  from ..training import Example, remove_bilu_prefix
  from ..training.initialize import get_sourced_components
  from ..util import registry, resolve_dot_names
  from ..vectors import Mode
  from ._util import Arg, Opt, _format_number, app, debug_cli, import_code, parse_config_overrides, show_validation_error
label_desc: Use image node_id 1 for calling a global function with example usage: debug_data_cli(ctx, config_path, code_path, ignore_warnings, verbose, no_format) without return types