feat(curator): Tatoeba's sentences as examples in every new language

JMdict brings Tatoeba's sentences for Japanese; the other languages'
dictionaries had none (CC-CEDICT) or Wiktionary's own, often
quotations. Each file now takes Tatoeba's sentences of the week (its
per-language exports, CC BY 2.0 FR) as its entries' first examples,
which become a card's hints: each sentence with a translation into the
dictionary's meaning language goes to the entries its words find, cut
as the app cuts a line of subtitles (at spaces, Korean's particles off,
Chinese by its longest words), up to three for each, those using the
word as its headword writes it first (Haus rather than zu Hause; 学习
rather than 學習 in the simplified dictionary), then those nearest seven
words long. German's common words nearly all get some (8,849 of
9,292), in ten seconds and under 300 MB; a dictionary whose sentences
can't be had keeps its words. `curate tatoeba` does the same for a file
made by hand.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-14 07:49:34 +02:00
commit 222175584b
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -69,7 +69,14 @@ made from it be published under CC BY-SA, as studysets are.
10. **A noun goes onto its card with its article** where the language has gendered
articles and the noun one gender (`das Haus`, `το σπίτι`): learners learn the gender
with the word, and the article says it.
11. **Words are looked up on the web** on Jisho in Japanese, built on JMdict, and on
11. **Tatoeba's sentences are the examples** (CC BY 2.0 FR, weekly per-language
exports), as JMdict's examples edition brings them for Japanese: each sentence with
a translation into the meaning language goes to the entries its words find, cut as
the app cuts subtitles, up to three for each, those using the word as its headword
writes it first (Haus, not zu Hause; simplified characters in the simplified
dictionary), then those nearest seven words long. Wiktionary's own examples, often
quotations, follow them. A dictionary whose sentences can't be had keeps its words.
12. **Words are looked up on the web** on Jisho in Japanese, built on JMdict, and on
Wiktionary at the language's section otherwise, which the dictionaries are drawn from.
## Consequences