# Vocabulary Module
# vocabulary/api.py  — API router (search, browse, import, translate)
# vocabulary/db.py   — PostgreSQL storage for vocabulary word catalog

from .api import router
from .db import (
    VocabularyWord,
    get_pool,
    init_vocabulary_tables,
    search_words,
    get_word,
    browse_words,
    insert_word,
    insert_words_bulk,
    count_words,
    get_all_tags,
    get_all_pos,
)

__all__ = [
    "router",
    "VocabularyWord",
    "get_pool",
    "init_vocabulary_tables",
    "search_words",
    "get_word",
    "browse_words",
    "insert_word",
    "insert_words_bulk",
    "count_words",
    "get_all_tags",
    "get_all_pos",
]
