Loading src/absinth.py +3 −2 Original line number Diff line number Diff line Loading @@ -150,6 +150,8 @@ def induce(topic_name: str, result_list: list) -> (nx.Graph, list, dict): edge_freq_dict = {(key1,key2):value2 for key1,value1 in edge_freq_dict.items() for key2,value2 in value1.items()} print('[a] Collected frequencies from secret hideout.') continue if graph_in_existence == False: Loading @@ -167,8 +169,7 @@ def induce(topic_name: str, result_list: list) -> (nx.Graph, list, dict): else: new_dict[0] = {key[1]:value} edge_freq_dict = new_dict json.dump(edge_freq_dict, edge_file) json.dump(new_dict, edge_file) #builds graph from these dictionaries, also applies multiple filters print('[a]', 'Building graph.\t('+topic_name+')') Loading src/abstinent.py +3 −1 Original line number Diff line number Diff line Loading @@ -368,6 +368,8 @@ def induce(topic_name: str, result_list: list) -> (nx.Graph, list, dict): edge_freq_dict = {(key1,key2):value2 for key1,value1 in edge_freq_dict.items() for key2,value2 in value1.items()} print('[a] Collected frequencies from hidden hideout.') continue if graph_in_existence == False: Loading @@ -386,7 +388,7 @@ def induce(topic_name: str, result_list: list) -> (nx.Graph, list, dict): new_dict[0] = {key[1]:value} edge_freq_dict = new_dict json.dump(edge_freq_dict, edge_file) json.dump(new_dict, edge_file) #builds graph from these dictionaries, also applies multiple filters print('[a]', 'Building graph.\t('+topic_name+')') Loading Loading
src/absinth.py +3 −2 Original line number Diff line number Diff line Loading @@ -150,6 +150,8 @@ def induce(topic_name: str, result_list: list) -> (nx.Graph, list, dict): edge_freq_dict = {(key1,key2):value2 for key1,value1 in edge_freq_dict.items() for key2,value2 in value1.items()} print('[a] Collected frequencies from secret hideout.') continue if graph_in_existence == False: Loading @@ -167,8 +169,7 @@ def induce(topic_name: str, result_list: list) -> (nx.Graph, list, dict): else: new_dict[0] = {key[1]:value} edge_freq_dict = new_dict json.dump(edge_freq_dict, edge_file) json.dump(new_dict, edge_file) #builds graph from these dictionaries, also applies multiple filters print('[a]', 'Building graph.\t('+topic_name+')') Loading
src/abstinent.py +3 −1 Original line number Diff line number Diff line Loading @@ -368,6 +368,8 @@ def induce(topic_name: str, result_list: list) -> (nx.Graph, list, dict): edge_freq_dict = {(key1,key2):value2 for key1,value1 in edge_freq_dict.items() for key2,value2 in value1.items()} print('[a] Collected frequencies from hidden hideout.') continue if graph_in_existence == False: Loading @@ -386,7 +388,7 @@ def induce(topic_name: str, result_list: list) -> (nx.Graph, list, dict): new_dict[0] = {key[1]:value} edge_freq_dict = new_dict json.dump(edge_freq_dict, edge_file) json.dump(new_dict, edge_file) #builds graph from these dictionaries, also applies multiple filters print('[a]', 'Building graph.\t('+topic_name+')') Loading