def get_entry_points(key):
result = {}<EOL>for entry_point in pkg_resources.iter_entry_points(key):<EOL><INDENT>result[entry_point.name] = entry_point.load()<EOL><DEDENT>return result<EOL>
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.