cluster edit is now data change. Also ordering of clusters
This commit is contained in:
@@ -40,7 +40,7 @@ class ExampleClusters:
|
||||
self.lists[key].add(cluster)
|
||||
|
||||
for key in self.lists.keys():
|
||||
self.lists[key] = sorted(self.lists[key], key=lambda x: x)
|
||||
self.lists[key] = sorted(self.lists[key], key=lambda x: int(x))
|
||||
|
||||
def _get_list(self, sense, example):
|
||||
key = ExampleClusters.get_key(sense, example)
|
||||
|
||||
Reference in New Issue
Block a user