GNU Emacs Latin language-learning platform
An essay documenting a workflow that turns GNU Emacs, together with gptel (an LLM client for Emacs) and Google's Gemini-3 family of models, into a Latin language-learning platform. It covers converting poorly aligned, pixelated PDF scans of century-old Latin textbooks from the Internet Archive into Org mode documents while preserving typographic details, tables, and semantic metadata; integrating a local lemmatizer and dictionary for quick Latin-to-English lookups; sending whole sentences to Gemini for detailed morphological and grammatical breakdowns; using yt-dlp, patreon-dl, and ffmpeg to fetch and transcode Latin-language audio for LLM transcription; using wav2vec2-latin forced-alignment data to play audio snippets from a transcription buffer; and leveraging Gemini with the anki-editor minor mode to auto-create multimedia flash cards in Org mode for sentence mining.