def METHOD_NAME(arch, encoding_type=EncodingType.PATH, max_nodes=25, accs=None):
    compact = arch.get_compact()
    if encoding_type == EncodingType.ADJACENCY_ONE_HOT:
        return encode_adj(compact=compact, max_nodes=max_nodes, one_hot=True)
    elif encoding_type == EncodingType.ADJACENCY_MIX:
        return encode_adj(compact=compact, max_nodes=max_nodes, one_hot=False, accs=accs)
    elif encoding_type == EncodingType.SEMINAS:
        return encode_seminas(compact=compact, max_nodes=max_nodes)
    elif encoding_type == EncodingType.GCN:
        return encode_gcn(compact=compact, max_nodes=max_nodes)
    elif encoding_type == EncodingType.COMPACT:
        return compact
    else:
        logger.info(f"{encoding_type} is not yet implemented as an encoding type for nlp")
        raise NotImplementedError()