# Pack provenance and licenses

The downloadable/bundled `.dkpack` data files are licensed under **CC BY-SA 4.0**,
including the wordfreq-derived frequency data. DuoKey application code is separate;
no Python packages are linked into the app or extension. Pack source/build scripts
are available in this repository; the app includes this notice and license texts.

## wordfreq 3.1.1

Copyright 2022 Robyn Speer. https://github.com/rspeer/wordfreq
The **code** license is Apache 2.0, not MIT as assumed in the master prompt.
The combined frequency **data** uses CC BY-SA 4.0; see
`Licenses/WORD-FREQ-NOTICE.md` for its upstream source and attribution notices.
The datasets are tokenized/normalized, converted to DAWG ranks, combined with a
Kneser-Ney model, pruned and quantized by DuoKey. This is a modified derivative.
The license applies to the data packs, not to unrelated application source code.
Exact source data hashes are embedded in each pack's metadata.

## Tatoeba

https://tatoeba.org/en/downloads — sentences released under CC BY 2.0 FR.
Snapshot downloaded 2026-10-25 (weekly export dated 2026-10-24):

| Language | Detailed export | SHA-256 |
| --- | --- | --- |
| nl | https://downloads.tatoeba.org/exports/per_language/nld/nld_sentences_detailed.tsv.bz2 | 13a1fb9653463a09bb568519f187afebe541bb8f3875c6acab2a64753687d633 |
| en | https://downloads.tatoeba.org/exports/per_language/eng/eng_sentences_detailed.tsv.bz2 | c39d2fab0cc5bc2b798b539134b83abaf5dec723a059ce55496907d08e3e9030 |

Per-language contributor credits are in `nl-attribution.json` and
`en-attribution.json`. Original sentence pages are available at
`https://tatoeba.org/en/sentences/show/{sentence_id}` using IDs in the detailed
exports. The derived models tokenize and normalize text, count n-grams, smooth,
prune and quantize probabilities; original sentences are not bundled.

This corrects the master prompt's assumption that all preferred sources are
permissively licensed. We use its preferred wordfreq source with its actual
share-alike terms and provide separately reusable pack files and attribution.
No unlicensed OpenSubtitles or Wikipedia content was copied into the product.

## Unicode emoji and CLDR

`emoji.dkemoji` derives from Unicode Emoji 16.0 and CLDR 48.2.3 annotations,
pinned at cldr-json commit `91c267402229a59e3ef2774544f001bf959e8809`.
These inputs use Unicode-3.0; see `Licenses/UNICODE-LICENSE.txt` and exact URLs/
SHA-256 hashes in `emoji-sources.json`. Changes: merged Dutch/English keywords,
normalized token indexing, bounded prefix/exact trie, category and skin-tone
catalog. Unicode 16 avoids depending on newer glyph support on iOS 26.0.
