feat(reader): multi-word and phrasal verb detector in reader (Task 14)

This commit is contained in:
Antigravity committed 2026-10-06 15:16:02 +03:00
1 parent 37a1f1ab35
commit 1c3f03a64c
9 files changed
+738 -16

No files matched your search

+7
View File
@@ -205,6 +205,13 @@ def _migrate(conn: sqlite3.Connection):
# Auto-seed offline dictionary if empty
_seed_offline_dictionary(conn)
# Seed curated phrasal verbs
try:
from app.phrasal import seed_curated_phrasal_verbs
seed_curated_phrasal_verbs(conn)
except Exception:
pass
def _seed_offline_dictionary(conn: sqlite3.Connection):
"""Seeds the offline dictionary from data/offline_dict.tsv.gz if the table is empty."""