word stats on sqlite now, not yet really working.

This commit is contained in:
2019-06-27 00:37:47 +02:00
parent cfdb36b894
commit 11706b6f81
2 changed files with 76 additions and 50 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ class StatsFormatter(Formatter):
freq = 0
else:
word = match.matches[0][cid]
freq = self.word_renderer.num_words[(word.lemma, word.msd[0])]
freq = self.word_renderer.num_words(word.lemma, word.msd[0])
self.stats["freq"][cid] = freq