code: def get_entry_points(key):
      
      result = {}
      for entry_point in pkg_resources.iter_entry_points(key):
          result[entry_point.name] = entry_point.load()
      return result
docs: Get registered entry points from other packages for a given key, e.g.
      'spacy_factories' and return them as a dictionary, keyed by name.
  
      key (unicode): Entry point name.
      RETURNS (dict): Entry points, keyed by name.