This commit is contained in:
bwt09
2022-06-05 20:14:03 -07:00
parent 17083ec654
commit 5a094db63c

View File

@@ -32,7 +32,7 @@ class EntityTupleSearcher:
max_word_repeat=max_word_repeat,
n=n)
ent_tuples = sorted([t[1] for t in collected_tuples_heap], reverse=True)
ent_tuples = sorted([t[1] for t in collected_tuples_heap])
ent_tuples = [ent_tuples[i] for i in range(len(ent_tuples))
if i == 0 or ent_tuples[i] != ent_tuples[i - 1]]