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