files loaded now in database
This commit is contained in:
@@ -43,7 +43,10 @@ def main(args):
|
||||
match_store = MatchStore(args, database)
|
||||
word_stats = WordStats(lemma_msds, database)
|
||||
|
||||
for words in load_files(args):
|
||||
for words in load_files(args, database):
|
||||
if words is None:
|
||||
continue
|
||||
|
||||
matches = match_file(words, structures)
|
||||
match_store.add_matches(matches)
|
||||
word_stats.add_words(words)
|
||||
|
||||
Reference in New Issue
Block a user