missing threshold check for singletons in clustering
@@ -170,6 +170,7 @@ def cluster(dupes, threshold=.5, max_components=30000):
else:
ids, score = sub_graph[0]
+ if score > threshold:
yield tuple(ids), tuple([score] * 2)
