progress for dispersions
This commit is contained in:
parent
f9bfac6430
commit
771547b7e4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user