mirror of
https://github.com/tanyuqian/knowledge-harvest-from-lms.git
synced 2023-06-02 01:35:42 +03:00
updated.
This commit is contained in:
@@ -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]]
|
||||
|
||||
Reference in New Issue
Block a user