CunAI
Offline-first semantic search engine for the ancient Sumerian language, built on the complete ePSD2 dictionary and corpus.

Technical Details
Hybrid search engineType and lexical results over headwords, attested forms, and glosses appear instantly, with diacritic-insensitive input (gestu finds ΕeΕ‘tug). Press Enter and semantic vector discovery fuses in: English queries like "ceremonial offering to the gods" surface Sumerian concepts no keyword match would find.
Indexing four millennia on a T4The corpus pipeline was built in Python on Google Colab: a T4 GPU ran SentenceTransformers to embed thousands of ePSD2 documents into 213k corpus vectors, which are baked into a local usearch index. An exact SIMD scan answers queries in tens of milliseconds with perfect recall. Desktop uses 768-d f16 vectors; Android ships a Matryoshka-truncated 256-d int8 index to stay lean.
Local inference in RustQuery embedding runs inside the Tauri shell via ONNX Runtime (ort) with the EmbeddingGemma-300m model. Its sentence_embedding output reproduces the original corpus pipeline at cosine 0.991 or higher, so query and corpus share one vector space without re-embedding.
No API calls, no telemetry.
Cuneiform-first renderingTransliterations map to Unicode cuneiform through the ePSD2 sign list plus a complete Unicode sign-name table of 1,234 signs, including compounds. 97.6% of lemmas and 92.8% of written forms render as glyphs, and a partial rendering is never shown. A browsable sign list covers 2,000+ ePSD2 signs.
Asset deliverySemantic search needs the embedding model plus the prebuilt index. On first run the app downloads both in the background with resume support and sha256 verification; the lexical dictionary works fully offline out of the box.
dub-sar, the scribe. Written in clay, searched in silicon.

English concepts like "ceremonial offering to the gods" resolve to Sumerian lemmas no keyword could reach.

Senses with attestation counts and written forms with per-form cuneiform, straight from ePSD2.

Instant lexical matches and semantic discoveries ranked together in one result list.