Loading code/absinth_nx.py +1 −1 Changes for code/absinth_nx.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -199,11 +199,11 @@ def disambiguate(mst, hubs, contexts): idx = contexts.index(c) + 1 try: if max(vector) == 0: result.append((backup_cluster, idx)) backup_cluster += 1 else: try: cluster = np.argmax(vector) result.append((cluster, idx)) except: Loading Loading
code/absinth_nx.py +1 −1 Changes for code/absinth_nx.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -199,11 +199,11 @@ def disambiguate(mst, hubs, contexts): idx = contexts.index(c) + 1 try: if max(vector) == 0: result.append((backup_cluster, idx)) backup_cluster += 1 else: try: cluster = np.argmax(vector) result.append((cluster, idx)) except: Loading