(name: str)
return doc_extensions_registry.get(name)()
Get a collection of custom extensions that can be set on or removed from
    the global :class:`spacy.tokens.Doc` , specified by ``name`` .

    Args:
        name: Name of a function registered in :obj:`doc_extensions_registry`
            that returns a collection of custom doc extensions as a dictionary.
            For example, "extract" or "extract.keyterms".

    Note:
        If ``name`` isn't found, you may need to import the module from which it comes.
        For example, the "text_stats" collection of doc extensions is only available
        after running ``import textacy.text_stats`` .
Get a collection of custom extensions that can be set on or removed from
    the global :class:`spacy.tokens.Doc` , specified by ``name`` .
Get a collection of custom extensions that can be set on or removed from the global : class : spacy . tokens . Doc specified by name .
def get_doc_extensions(name: str) -> Dict[str, Dict[str, types.DocExtFunc]]:
    """
    Get a collection of custom extensions that can be set on or removed from
    the global :class:`spacy.tokens.Doc` , specified by ``name`` .

    Args:
        name: Name of a function registered in :obj:`doc_extensions_registry`
            that returns a collection of custom doc extensions as a dictionary.
            For example, "extract" or "extract.keyterms".

    Note:
        If ``name`` isn't found, you may need to import the module from which it comes.
        For example, the "text_stats" collection of doc extensions is only available
        after running ``import textacy.text_stats`` .
    """
    return doc_extensions_registry.get(name)()
def get_doc_extensions ( name : str ) -> Dict [ str , Dict [ str , types . DocExtFunc ] ] : return doc_extensions_registry . get ( name ) ( )