      return package_path / package_name / model_name
  
  
  def parse_package_meta(package_path, require=True):
      """
      Check if a meta.json exists in a package and return its contents as a
      dictionary. If require is set to True, raise an error if no meta.json found.
      """
      location = package_path / 'meta.json'
      if location.is_file():
          return read_json(location)
      elif require:
 
</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         if package.project_name.replace('-', '_') == origin:
 </s> add         if package.project_name.replace('-', '_') == name: </s> remove     """
    Get user input via raw_input / input and return input value. Takes a
    description, and an optional default value to display with the prompt.
 </s> add     """Get user input from the command line via raw_input / input.

    Args:
        description (unicode): Text to display before prompt.
        default (unicode or False/None): Default value to display with prompt.
    Returns:
        unicode: User input.
    """Check if a meta.json exists in a package and return its contents.

    Args:
        package_path (Path): Path to model package directory.
        require (bool): If True, raise error if no meta.json is found.
    Returns:
        dict or None: Model meta.json data or None.
      return package_path / package_name / model_name
  
  
  def parse_package_meta(package_path, require=True):
    """Check if a meta.json exists in a package and return its contents.

    Args:
        package_path (Path): Path to model package directory.
        require (bool): If True, raise error if no meta.json is found.
    Returns:
        dict or None: Model meta.json data or None.
    """Check if a meta.json exists in a package and return its contents.

    Args:
        package_path (Path): Path to model package directory.
        require (bool): If True, raise error if no meta.json is found.
    Returns:
        dict or None: Model meta.json data or None.
    """Check if a meta.json exists in a package and return its contents.

    Args:
        package_path (Path): Path to model package directory.
        require (bool): If True, raise error if no meta.json is found.
    Returns:
        dict or None: Model meta.json data or None.
      """
      location = package_path / 'meta.json'
      if location.is_file():
          return read_json(location)
      elif require:
keep keep keep keep replace replace replace keep keep keep keep keep
 Add docstrings, error messages and fix consistency 
spacy/util.py