Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

My Friend Can't Explain Loglan Grammar Fast Enough — So I Built Him an AI That Speaks a 1955 Artificial Language

说明与用途

Alex 是一名 Loglan 导师,过去需要 20–30 分钟回答语法问题。现在,基于两层 RAG 的本地 LLM 助手可在毫秒级完成回答,提供准确、引用完整的答案,并消除了幻觉。

问题

Alex, a Loglan mentor, spends 20–30 minutes answering grammar questions that require searching a 10,000‑word SQLite database and cross‑referencing textbooks, and generic LLMs hallucinate words, borrow from Lojban, and mis‑assign argument slots.

结果

The assistant reduces answer time from 20–30 minutes to milliseconds, provides accurate, citation‑backed explanations, and achieves near‑zero hallucination rates by grounding all context in the LOD dictionary.

工作流

  • 1. Ingest 28 canonical Loglan sources into an SQLite FTS5 index (18,766 dictionary definitions and 769 textbook chunks).
  • 2. When a user queries, the retriever searches Tier 1 (LOD dictionary) and Tier 2 (grammar corpus) simultaneously.
  • 3. The grounded context is fed to a local Ollama model.
  • 4. The model outputs a markdown answer with slot definitions, parse tree, and citations.
  • 5. The assistant is available via a terminal REPL and a Streamlit web demo.

证据

Each answer requires digging through a 10,000-word SQLite database, cross-referencing 1970s grammar textbooks, checking case-tag theory papers, and formulating a coherent explanation. It is mentally exhausting and takes 20–30 minutes per question.

来源

A standard cloud model fails badly on Loglan: It hallucinates words that don't exist in the 9,988-word dictionary, borrows from Lojban, and scrambles argument slots.

来源

Grounding with the LOD dictionary fixes this: when the retriever explicitly surfaces cinkau → puppy / infant-dog, hallucination drops to near zero.

来源

I used to spend 15 minutes explaining how 'nu donsu' flips the donor and the gift, and another 10 minutes digging up the lesson on case tags. Now I just paste the assistant's breakdown into our community channel.

来源

  • 记录日期: 2026-10-04T19:40:52.248Z