← All projects
Project record1 mention
Originally shared on Hacker News

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.

Last shared For The author, for personal Latin study
01 / The problem

What it addresses

Century-old Latin textbooks exist only as poorly aligned, pixelated PDF image scans on the Internet Archive, and studying Latin requires laborious lookups, grammatical analysis, audio transcription, and flash-card creation that the workflow automates.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. 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.

    Problem: Century-old Latin textbooks exist only as poorly aligned, pixelated PDF image scans on the Internet Archive, and studying Latin requires laborious lookups, grammatical analysis, audio transcription, and flash-card creation that the workflow automates.

    Audience: The author, for personal Latin study

    Posted by @spudlyo · Original source ↗

    Source text · @spudlyo · · Source ↗

    I'm writing an essay where I get into how I use GNU Emacs along with gptel (a simple LLM client for Emacs) and Google's Gemini-3 family of models to turn a 1970s-vintage text editor into a futuristic language-learning platform to help me study Latin.