diff --git a/src/match_store.py b/src/match_store.py index 2a712f2..52767a3 100644 --- a/src/match_store.py +++ b/src/match_store.py @@ -97,7 +97,7 @@ class MatchStore: def determine_colocation_dispersions(self): dispersions = defaultdict(int) - for structure_id, word_tups_str in self.db.execute("SELECT structure_id, key FROM Colocations"): + for structure_id, word_tups_str in progress(self.db.execute("SELECT structure_id, key FROM Colocations"), "dispersion"): word_tups = literal_eval(word_tups_str) for component_id, lemma in word_tups: dispersions[(str(structure_id), component_id, lemma)] += 1