code: def load(
      name: Union[str, Path],
      *,
      vocab: Union[Vocab, bool] = True,
      disable: Union[str, Iterable[str]] = util._DEFAULT_EMPTY_PIPES,
      enable: Union[str, Iterable[str]] = util._DEFAULT_EMPTY_PIPES,
      exclude: Union[str, Iterable[str]] = util._DEFAULT_EMPTY_PIPES,
      config: Union[Dict[str, Any], Config] = util.SimpleFrozenDict(),
  ) -> Language:
      """Load a spaCy model from an installed package or a local path.
  
      name (str): Package name or model path.
      vocab (Vocab): A Vocab object. If True, a vocab is created.
      disable (Union[str, Iterable[str]]): Name(s) of pipeline component(s) to disable. Disabled
          pipes will be loaded but they won't be run unless you explicitly
          enable them by calling nlp.enable_pipe.
      enable (Union[str, Iterable[str]]): Name(s) of pipeline component(s) to enable. All other
          pipes will be disabled (but can be enabled later using nlp.enable_pipe).
      exclude (Union[str, Iterable[str]]): Name(s) of pipeline component(s) to exclude. Excluded
          components won't be loaded.
      config (Dict[str, Any] / Config): Config overrides as nested dict or dict
          keyed by section values in dot notation.
      RETURNS (Language): The loaded nlp object.
      """
      return util.load_model(
          name,
          vocab=vocab,
          disable=disable,
          enable=enable,
          exclude=exclude,
          config=config,
      )
  
file_path: spaCy/spacy/__init__.py
imports: import sys
  from pathlib import Path
  from typing import Any, Dict, Iterable, Union
  from .errors import setup_default_warnings
  from thinc.api import Config, prefer_gpu, require_cpu, require_gpu
  from .None import pipeline
  from .None import util
  from .about import __version__
  from .cli.info import info
  from .errors import Errors
  from .glossary import explain
  from .language import Language
  from .util import logger, registry
  from .vocab import Vocab
label_desc: Use image node_id 1 for calling a global function with example usage: load(name) and returns: util