  
  
  def get_model_package_path(package_name):
      # Here we're importing the module just to find it. This is worryingly
      # indirect, but it's otherwise very difficult to find the package.
      # Python's installation and import rules are very complicated.
      pkg = importlib.import_module(package_name)
 
</s> remove def is_package(origin):
    """
    Check if string maps to a package installed via pip.
 </s> add def is_package(name):
    """Check if string maps to a package installed via pip.

    Args:
        name (unicode): Name of package.
    Returns:
        bool: True if installed package, False if not.
 </s> remove     """
    Wrap text at given width using textwrap module. Indent should consist of
    spaces. Its length is deducted from wrap width to ensure exact wrapping.
 </s> add     """Wrap text at given width using textwrap module.

    Args:
        text (unicode): Text to wrap. If it's a Path, it's converted to string.
        wrap_max (int): Maximum line length (indent is deducted).
        indent (int): Number of spaces for indentation.
    Returns:
        unicode: Wrapped text. </s> remove     """
    Print formatted message. Each positional argument is rendered as newline-
    separated paragraph. An optional highlighted title is printed above the text
    (using ANSI escape sequences manually to avoid unnecessary dependency).
 </s> add     """Print formatted message (manual ANSI escape sequences to avoid dependency)

    Args:
        *texts (unicode): Texts to print. Each argument is rendered as paragraph.
        **kwargs: 'title' is rendered as coloured headline. 'exits'=True performs
                  system exit after printing.
    """Get path to a model package installed via pip.

    Args:
        package_name (unicode): Name of installed package.
    Returns:
        Path: Path to model data directory.
    """
  
  
  def get_model_package_path(package_name):
    """Get path to a model package installed via pip.

    Args:
        package_name (unicode): Name of installed package.
    Returns:
        Path: Path to model data directory.
    """
      # Here we're importing the module just to find it. This is worryingly
      # indirect, but it's otherwise very difficult to find the package.
      # Python's installation and import rules are very complicated.
      pkg = importlib.import_module(package_name)
keep keep add keep keep keep keep
 Add docstrings, error messages and fix consistency 
spacy/util.py