(name: str)
Remove a collection of custom extensions 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".
Remove a collection of custom extensions from the global :class:`spacy.tokens.Doc` ,
    specified by ``name`` .
Remove a collection of custom extensions from the global : class : spacy . tokens . Doc specified by name .
def remove_doc_extensions(name: str):
    """
    Remove a collection of custom extensions 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".
    """
    for name in get_doc_extensions(name).keys():
        if Doc.has_extension(name):
            _ = Doc.remove_extension(name)
        else:
            LOGGER.warning("%s `Doc` extension not found; skipping removal...", name)
def remove_doc_extensions ( name : str ) : for name in get_doc_extensions ( name ) . keys ( ) : if Doc . has_extension ( name ) : _ = Doc . remove_extension ( name ) else : LOGGER . warning ( "%s `Doc` extension not found; skipping removal..." , name )