Rubricv1.0

Bilingual Book Maker: Interlinear Reading Editions of Free Books

Why Rubric? In old manuscripts the headings were written in red ink, and the Latin for the red earth pigment, rubrica, gave them their name.

Runs on: Any web browser: nothing to install. The translating is done by Claude (a free claude.ai account works).

✨ Install with Claude's help

Not sure how to install this? Let an AI assistant walk you through it, step by step, on your own system.

  1. Copy the instructions below.
  2. Open Claude (a free account works) and paste them in.
  3. Answer its questions and follow along, doing the typing yourself.

Claude in a web browser cannot reach your computer: it reads the instructions, asks about your system, and tells you what to type and what each command does, one step at a time. You stay in control of everything that actually runs.

Using Claude Code? That is the version that runs in a terminal on your own machine, so it can do the downloading and installing itself, asking before each step. Paste this into it instead:

Open in Claude Code ↗needs the Claude Desktop app

Bilingual Book Maker (Rubric): interlinear editions of free books

Use it now: veered.org/bilingual-book-maker/app/

Rubric turns a free book into a reading edition for someone learning a language. Every sentence is translated, every word has a small gloss under it, the verbs are tagged with their grammar, and about one sentence in three gets a short teaching note. The pages print well, so you can read on paper with a pencil.

The Wonderful Wizard of Oz in Hebrew, chapter 1, in the Rubric reader

The example: The Wonderful Wizard of Oz in Hebrew

examples/wizard-of-oz/ holds the whole book, all 24 chapters and 3,088 sentences, translated into modern Israeli Hebrew for an English speaker at about A2–B1. Every word has full vowels (niqqud) and a gloss, every verb shows its binyan and root, passive forms are underlined, and idioms are marked. Open it in the reader: reader.html?example, or look at the chapter 1 PDF. Its brief is in examples/wizard-of-oz/STYLE.md.

How it works

  1. Choose a book on the book maker page (index.html). Search Project Gutenberg's 75,000 free books, or paste a link to a Gutenberg book, a Wikipedia article, a Wikisource text, a Standard Ebooks book, a Project Ben-Yehuda story or any page with the text on it. The page also lists good places to look.
  2. Choose your languages and level: the language you're learning, your own language (for the glosses and notes), and your level from A1 to C1. Each language gets its own grammar recipe: binyan and root for Hebrew, tense and mood for Spanish, aspect and case for Russian, furigana for Japanese, pinyin for Chinese, and so on. If the book is already in the language you're learning, Claude keeps its words and adds the glosses, notes and a translation instead.
  3. Copy the instructions to Claude. In a free claude.ai chat, Claude makes one chapter per chat as a .json file. In Claude Code, it downloads the text, splits it into chapters, translates them, and checks each one against the original with tools/validate.js.
  4. Open the files in the reader (reader.html) and click Print / Save PDF. Switches turn the glosses, grammar tags, notes and original paragraph on or off, and there are compact and large sizes. For a booklet, print two pages per sheet.

Nothing is uploaded: the reader opens your files in the browser. The book search runs on a copy of Project Gutenberg's catalogue (catalog.tsv, rebuilt with tools/build_catalog.py), and Wikipedia links are looked up with the Wikipedia API.

Files

Copyright

Use texts that are free to translate. Project Gutenberg books are public domain in the United States; check your own country's rules too. Wikipedia articles are under CC BY-SA 4.0, so an edition made from one must credit the article and its authors and use the same license, and the instructions ask Claude to put that credit in the book.

Claude can make mistakes. Treat the glosses and notes as a study aid, and check anything important with a teacher or a dictionary.

License

The code is under the MIT License. The Hebrew translation, glosses and notes of the Wizard of Oz example are under CC BY 4.0; Baum's English text is in the public domain.

Information for nerds: the source code

Everything this project is made of, as committed: the code, its README files and its license. No build step or account needed to read it.

⬇ Download source (.zip)

rubric-bilingual-books.zip · 3.5 MB · released under the license stated on this page.

Please test before relying on these tools. They are shared as-is, with no warranty. They work on my own computers, but your system, settings and software versions may differ, so please try them in a safe setting first. If something doesn't work, you can ask Claude (or another AI coding assistant) to look into it, and I'd appreciate hearing what you found and how you fixed it. You are also welcome to just let me know at support@veered.org, and I'll look into it.