cluster edit is now data change. Also ordering of clusters

This commit is contained in:
2020-02-16 17:46:55 +01:00
parent 446e16d629
commit b20ceca27a
2 changed files with 4 additions and 4 deletions

View File

@@ -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)