language-store / sources /README.md
Rookie56R's picture
Language Store: copy of 2026-12-01 (part 25)
24b7b98 verified
|
Raw History Blame Contribute Delete
5.53 kB
# Sources and recipes
The raw inputs the Language Store's data was built from, gathered on 2026-12-01 from the four projects they were spread over, and
how each data set is rebuilt. The scripts are in the Go V0 repository (github.com/Rookie2401/go-v0) at commit `420a68b10e`.
Each language's `SOURCE.json` gives every file's source address, sizes and SHA-256.
## Inputs
"Recorded" says whether the built data's own manifest records this content's SHA-256.
| Language | File | MB | Feeds | Unpacked SHA-256 | Recorded |
| --- | --- | ---: | --- | --- | --- |
| `ar` | `kaikki-arabic.jsonl.gz` | 39 | `dict/ar`, `lexicon/ar/standard` | `143c0e0bc33eddcc…` | yes |
| `de` | `kaikki.org-dictionary-German.jsonl.gz` | 94 | `dict/de` | `650a0f3a06c6fc4e…` | yes |
| `el` | `kaikki.org-dictionary-AncientGreek.jsonl.gz` | 41 | `lexicon/el/ancient` | `69d7185819de51cc…` | none recorded |
| `el` | `kaikki.org-dictionary-Greek.jsonl.gz` | 24 | `lexicon/el/modern` | `abf85bf5042898bf…` | none recorded |
| `es` | `kaikki.org-dictionary-Spanish.jsonl.gz` | 91 | `dict/es` | `a2cc93aee2b0ac24…` | yes |
| `fr` | `kaikki.org-dictionary-French.jsonl.gz` | 56 | `dict/fr` | `9053b1845fb3e045…` | yes |
| `he` | `kaikki.org-dictionary-Hebrew.jsonl.gz` | 8 | `dict/he`, `lexicon/he/modern` | `f6fab6e142fcacd1…` | yes |
| `hi` | `kaikki.org-dictionary-Hindi.jsonl.gz` | 17 | `dict/hi` | `d8cbd27fc31c0b81…` | yes |
| `ko` | `kaikki.org-dictionary-Korean.jsonl.gz` | 18 | `dict/ko`, `lexicon/ko/standard` | `c160b1dadd49b141…` | yes |
| `la` | `kaikki-la.jsonl.gz` | 84 | `dict/la` | `22ba74c8c8a0fb35…` | yes |
| `nb` | `kaikki.org-dictionary-NorwegianBokmal.jsonl.gz` | 11 | `dict/nb` | `36a8b3f1e4da884e…` | yes |
| `nn` | `kaikki.org-dictionary-NorwegianNynorsk.jsonl.gz` | 8 | `dict/nn` | `1d39c8b7aab3766d…` | yes |
| `ru` | `kaikki.org-dictionary-Russian.jsonl.gz` | 87 | `dict/ru`, `lexicon/ru/standard` | `9078947aa21ed33c…` | yes |
| `sq` | `kaikki.org-dictionary-Albanian+tables.jsonl.gz` | 7 | `dict/sq` | `f63836cd29026f1c…` | yes |
| `th` | `kaikki.org-dictionary-Thai.jsonl.gz` | 7 | `dict/th` | `202acdc93b99bfeb…` | yes |
Not here: the Biblical Hebrew chart (`lexicon/he/biblical`) and the Koine Greek index are built from the Biblia application's data
(Open Scriptures Hebrew Bible morphology, MorphGNT), which is not copied into this Store.
## Word charts: re-run on 2026-12-01, byte for byte the copies here
Every command is run from the repository's root. `<out>` is a NEW folder: the builders' default output is the live chart.
**Russian** (`lexicon/ru/standard`, 468 files). The builder reads the packed extract.
```
npx vite-node --config scripts/vite.config.ts scripts/ru-build-index.mts -- --in sources/ru/kaikki.org-dictionary-Russian.jsonl.gz --priors sources/ru/ru_gsd-ud-train.conllu --out <out>/standard --core-out <out>/core.ts --priors-out <out>/priors.ts --form-priors-out <out>/form-priors.ts --date 2026-11-17
```
**Korean** (`lexicon/ko/standard`, 27 files). Unpack the extract first. The builder also reads the reviewed files
`docs/korean/homonym-decisions.json` and `docs/korean/gloss-overrides.json` from the repository, and writes `docs/korean/INDEX.md`
and `docs/korean/homonyms.json`.
```
npx vite-node --config scripts/vite.config.ts scripts/ko-build-lexicon.mts -- --in <unpacked>/kaikki.org-dictionary-Korean.jsonl --priors sources/ko/ko_kaist-ud-train.conllu --out <out>/standard --core-out <out>/core.ts --date 2026-11-25
```
**Arabic** (`lexicon/ar/standard`, 180 files). Unpack the extract first. WITHOUT `--identities` the frequency counts come out
different (160 of 180 files). The builder also reads `src/adapters/arabic/gloss-choices.json` and `preferences-reviewed.json`.
```
npx vite-node --config scripts/vite.config.ts scripts/ar-build-index.mts -- --in <unpacked>/kaikki-arabic.jsonl --freq sources/ar/ar_50k.txt --out <out>/standard --core-out <out>/core.ts --doc-out <out>/INDEX.md --identities src/adapters/arabic/identities.json --preferences-out <out>/preferences.ts --date 2026-11-25
```
## Recorded, not re-run for this copy
- Greek: `npm run el:build-ancient`, `npm run el:build-modern`, then `npm run lexicon:shard` (the whole indexes
`ancient-index.json` and `modern-index.json` are cut into the sharded sets).
- Hebrew: `npm run he:build-modern`; `npm run he:build-biblical` (from the Biblia application's data); then `npm run lexicon:shard`.
- The thirteen dictionaries, per language `xx` (the pattern as the project's release manager records it, 2026-12-01):
`npm run dict:build -- --in <extract>.jsonl --lang xx`, then `npm run dict:build-full -- xx`, then
`npm run dict:build-forms -- --langs xx`, then `npm run dict:build-reverse -- --langs xx`. Albanian runs
`npm run sq:dict-expand` first (the extract here is already the expanded one). Korean's exact ordered list is in the message of
commit 4332fadd. Each dictionary's `manifest.json` records its input's SHA-256, line count and date.
- The hosted form in this Store's `dict/` is that output passed through the project's publisher, which packs the whole-entry
shards (`full/f-xx.json.gz`, the manifest says `gzip: true`) and changes nothing else:
`npx vite-node --config scripts/vite.config.ts scripts/dict-publish.mts -- --src public/dict --dest <new folder> --full-shards gzip`.
This step WAS run for this copy (18,640 files, 687 MB from 1,119 MB), and 18,196 of its files are byte for byte the ones live on the
project's GitHub Pages site on 2026-12-01.