62f66421474f85d8ee0eb14db9bc3ff7314497ad,lexos/processors/analyze/topword.py,,analyze_group_to_group,#,177

Before Change


                   in two different paragraphs (the index is represented in the
                   in the first tuple we talked about)
    
    assert group_para_lists, EMPTY_LIST_MESSAGE
    // init
    // group list is the word list of each group (word to word count within the
    // whole group)
    group_word_lists = []

After Change


    // initialize the value to return
    all_results = {}  // the value to return
    group_lists = []  // the total word count of each group
    for _, value in enumerate(group_values):
        group_lists.append(np.sum(value, axis=0))
    num_group = len(group_lists)  // number of groups

    // comparison map, in here is a list of tuple.
    // There are two elements in the tuple, each one is a index of groups
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: WheatonCS/Lexos
Commit Name: 62f66421474f85d8ee0eb14db9bc3ff7314497ad
Time: 2017-08-02
Author: weltch1997@gmail.com
File Name: lexos/processors/analyze/topword.py
Class Name:
Method Name: analyze_group_to_group


Project Name: geekcomputers/Python
Commit Name: 139259ac8ac83160502cbb896371ce4fa4027361
Time: 2019-10-10
Author: ml.smiley3@gmail.com
File Name: primelib/primelib.py
Class Name:
Method Name: sieveEr


Project Name: scikit-learn-contrib/DESlib
Commit Name: b5390c169a8739333c9837c84a35884703e2ac68
Time: 2018-04-01
Author: rafaelmenelau@gmail.com
File Name: deslib/tests/des/test_meta_des.py
Class Name:
Method Name: test_estimate_competence