aeat.application.corpus_search package¶
On-host hybrid corpus-search grounding surface.
The console’s R3 grounding surface: a licence-clean, on-host retrieval
stack over the bundled BOE/AEAT corpus, built from the already-shipped
*.extracted triples. Three cooperating pieces live here:
the FTS5 lexical index (
_lexical_index) — standard-library SQLite plus a Spanish Snowball stemmed column, always importable;the structured citation lookup (
_citation_lookup) — an exactlegal_refsid resolver over the registry legal catalogue that returns verbatim authoritative text;the build-time embedding precompute (
_embed_build) — the semantic half, gated behind theaeat-cli[search]extra, that ships its corpus vectors as plain data.
The lexical index and the citation lookup carry the degraded, no-download
mode: they refuse nothing for want of a model. Only the embedding
precompute and the runtime query embedder need the search extra, and
they refuse with an install hint when it is absent.
Submodules¶
- aeat.application.corpus_search._citation_lookup module
- aeat.application.corpus_search._embed_build module
- aeat.application.corpus_search._errors module
- aeat.application.corpus_search._lexical_index module
- aeat.application.corpus_search._model_loader module
- aeat.application.corpus_search._models module
- aeat.application.corpus_search._query_embed module
- aeat.application.corpus_search._retrieval module
- aeat.application.corpus_search._runtime module
- aeat.application.corpus_search._terminology module