      validate: bool = True,
  ) -> Tuple["Language", Config]:
      """Create an nlp object from a config. Expects the full config file including
      a section "nlp" containing the settings for the nlp object.
      """
      if "nlp" not in config:
          raise ValueError(Errors.E985.format(config=config))
      nlp_config = config["nlp"]
      if "lang" not in nlp_config or nlp_config["lang"] is None:
          raise ValueError(Errors.E993.format(config=nlp_config))
 
</s> remove     """Load a config file. Takes care of path validation and section order."""
 </s> add     """Load a config file. Takes care of path validation and section order.

    path (Union[str, Path]): Path to the config file.
    overrides: (Dict[str, Any]): Config overrides as nested dict or
        dict keyed by section values in dot notation.
    interpolate (bool): Whether to interpolate and resolve variables.
    RETURNS (Config): The loaded config.
    """ </s> remove     """Load a model from an installed package."""
 </s> add     """Load a model from an installed package.

    name (str): The package name.
    vocab (Vocab / True): Optional vocab to pass in on initialization. If True,
        a new Vocab object will be created.
    disable (Iterable[str]): Names of pipeline components to disable.
    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.
    """ </s> remove     pipeline from config.cfg and then calls from_disk() with path."""
 </s> add     pipeline from config.cfg and then calls from_disk() with path.

    name (str): Package name or model path.
    meta (Dict[str, Any]): Optional model meta.
    vocab (Vocab / True): Optional vocab to pass in on initialization. If True,
        a new Vocab object will be created.
    disable (Iterable[str]): Names of pipeline components to disable.
    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.
    """ </s> remove     """Load a full config from a string."""
 </s> add     """Load a full config from a string. Wrapper around Thinc's Config.from_str.

    text (str): The string config to load.
    interpolate (bool): Whether to interpolate and resolve variables.
    RETURNS (Config): The loaded config.
    """
    name (str): Package name or model path.
    meta (Dict[str, Any]): Optional model meta.
    vocab (Vocab / True): Optional vocab to pass in on initialization. If True,
        a new Vocab object will be created.
    disable (Iterable[str]): Names of pipeline components to disable.
    auto_fill (bool): Whether to auto-fill config with missing defaults.
    validate (bool): Whether to show config validation errors.
    RETURNS (Language): The loaded nlp object.
      validate: bool = True,
  ) -> Tuple["Language", Config]:
      """Create an nlp object from a config. Expects the full config file including
      a section "nlp" containing the settings for the nlp object.
    name (str): Package name or model path.
    meta (Dict[str, Any]): Optional model meta.
    vocab (Vocab / True): Optional vocab to pass in on initialization. If True,
        a new Vocab object will be created.
    disable (Iterable[str]): Names of pipeline components to disable.
    auto_fill (bool): Whether to auto-fill config with missing defaults.
    validate (bool): Whether to show config validation errors.
    RETURNS (Language): The loaded nlp object.
      """
      if "nlp" not in config:
          raise ValueError(Errors.E985.format(config=config))
      nlp_config = config["nlp"]
      if "lang" not in nlp_config or nlp_config["lang"] is None:
          raise ValueError(Errors.E993.format(config=nlp_config))
keep keep keep add keep keep keep keep keep keep
 Update docs and util consistency 
spacy/util.py