ShowExampleEdit becomes more complex, handles ctrl+click and selecting/moving examples
This commit is contained in:
@@ -35,3 +35,7 @@ class Sense(Editable):
|
||||
self.translations = [[] for _ in range(max_num_cluster)]
|
||||
for clusterNum, translation in translations:
|
||||
self.translations[clusterNum - 1].append(translation)
|
||||
|
||||
|
||||
def merge_labels(self):
|
||||
return ", ".join(val for _, val in self.labels)
|
||||
|
||||
Reference in New Issue
Block a user