7b373d21ad50f5f769d15cb0d2ad7f24cf8bdbac,gensim/summarization/summarizer.py,,textrank_from_corpus,#Any#Any#Any#,134

Before Change


    hashable_corpus = _build_hasheable_corpus(corpus)

    if len(corpus) < INPUT_MIN_LENGTH:
        raise RuntimeError("Input corpus must have at least", INPUT_MIN_LENGTH, "documents")

    graph = _build_graph(hashable_corpus)
    _set_graph_edge_weights(graph, num_features)
    _remove_unreachable_nodes(graph)

After Change


    hashable_corpus = _build_hasheable_corpus(corpus)

    if len(corpus) < INPUT_MIN_LENGTH:
        raise RuntimeError("Input corpus must have at least " + str(INPUT_MIN_LENGTH) + " documents.")

    graph = _build_graph(hashable_corpus)
    _set_graph_edge_weights(graph, num_features)
    _remove_unreachable_nodes(graph)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: RaRe-Technologies/gensim
Commit Name: 7b373d21ad50f5f769d15cb0d2ad7f24cf8bdbac
Time: 2015-05-07
Author: fbarrios@fi.uba.ar
File Name: gensim/summarization/summarizer.py
Class Name:
Method Name: textrank_from_corpus


Project Name: RaRe-Technologies/gensim
Commit Name: 7b373d21ad50f5f769d15cb0d2ad7f24cf8bdbac
Time: 2015-05-07
Author: fbarrios@fi.uba.ar
File Name: gensim/summarization/summarizer.py
Class Name:
Method Name: summarize


Project Name: Microsoft/nni
Commit Name: e33b14d5f66c40356eff25056737d9ba5d8fe8ff
Time: 2019-01-11
Author: xuehui@microsoft.com
File Name: src/sdk/pynni/nni/metis_tuner/metis_tuner.py
Class Name: MetisTuner
Method Name: update_search_space