--- license: cc-by-sa-4.0 language: - pl pretty_name: Polish DynaWord task_categories: - text-generation size_categories: - 1M **v0.2.0** · 2,490,773 documents · **6.22B tokens** (tiktoken proxy; > canonical Llama-3 count at release) · 11 sources ## What this dataset contributes The raw texts come from existing open corpora (redistributed via SpeakLeash and, where applicable, fetched from upstream). **The value added here is the curation, not the bytes**, following the Dynaword methodology: 1. **License review per source** — each source vetted for an *openly-licensed, traceable* legal basis (documented in its datasheet); sources that fail the review are **excluded with a stated reason** (see table below), not silently kept. This is the core editorial work. 2. **Filtering & normalization** — minimal, reproducible gates (short-doc, non-Polish, exact cross-source dedup, OCR garble) applied uniformly to one clean schema: `id, text, source, added, created, token_count`. 3. **Documentation** — a datasheet per source (Gebru et al. 2021) + this card, so provenance and licensing are auditable rather than assumed. 4. **Reproducibility & versioning** — `src/` rebuilds the corpus from sources; new sources and removals are tracked in the CHANGELOG. Credit for the underlying texts belongs to the upstream sources and to SpeakLeash as the redistributing aggregator; this release does not claim ownership of them (see Disclaimer). ## Guiding principles 1. **Open & traceable licensing** — every source is *openly licensed* with a documented legal basis (see each datasheet's "traceable basis"), not a vague "public domain". 2. **Reproducibility** — `src/build_dynaword.py` rebuilds the corpus from sources. 3. **Documented** — a datasheet per source under `data//`. 4. **Extensibility** — versioned; new sources via PR. ## Sources | source | description | license | documents | tokens | |---|---|---|---:|---:| | [eurlex](data/eurlex/eurlex.md) | EUR-Lex (EU legal acts, Polish) | `CC-BY-4.0` | 243,060 | 2,378.1M | | [parliamentary](data/parliamentary/parliamentary.md) | Polish Parliamentary Corpus (Sejm/Senat) | `public-domain (official documents)` | 324,622 | 1,646.8M | | [wikisource](data/wikisource/wikisource.md) | Polish Wikisource | `CC-BY-SA-3.0` | 632,005 | 801.9M | | [wikipedia](data/wikipedia/wikipedia.md) | Polish Wikipedia | `CC-BY-SA-3.0` | 1,171,897 | 707.2M | | [dziennik_ustaw](data/dziennik_ustaw/dziennik_ustaw.md) | Dziennik Ustaw + Monitor Polski (Polish primary legislation) | `public-domain (official documents)` | 35,442 | 486.1M | | [wolne_lektury](data/wolne_lektury/wolne_lektury.md) | Wolne Lektury (school readings) | `CC-BY-SA-4.0 / Wolna Sztuka 1.3` | 6,141 | 103.0M | | [wikiquote](data/wikiquote/wikiquote.md) | Polish Wikiquote (quotations) | `CC-BY-SA-3.0` | 30,363 | 31.9M | | [eltec_pol](data/eltec_pol/eltec_pol.md) | ELTeC-pol (European Literary Text Collection, Polish) | `CC-BY-4.0` | 100 | 21.5M | | [wikivoyage](data/wikivoyage/wikivoyage.md) | Polish Wikivoyage (travel guides) | `CC-BY-SA-3.0` | 13,645 | 17.1M | | [wikibooks](data/wikibooks/wikibooks.md) | Polish Wikibooks (open textbooks) | `CC-BY-SA-3.0` | 9,112 | 15.6M | | [wikinews](data/wikinews/wikinews.md) | Polish Wikinews | `CC-BY-2.5` | 24,386 | 12.1M | | **total** | | | **2,490,773** | **6,221.4M** | ## Method Only **human-authored** text — no synthetic, machine-translated, or auto-transcribed data. Gates are intentionally minimal (drop short docs, non-Polish, exact duplicates, OCR garble); heavy quality filtering and mix-weighting are left to downstream training. Evaluation-set decontamination is applied/marked separately. Schema: `id, text, source, added, created, token_count`. ## Excluded sources (transparency) Sources we reviewed and **deliberately left out** — part of the curation: | source | reason | |---|---| | `open_subtitles_corpus` | Derivative of copyrighted film/TV dialogue; OpenSubtitles uploads largely unlicensed. Same copyright lesson as Danish Gigaword's OpenSubtitles (paper 2508.02271). Not openly licensed. | | `europeana_eu_pl_corpus` | Aggregated items with mixed per-record rights (PD / CC-BY-NC / rights-reserved). Needs per-record edm:rights filter before any inclusion. | | `1000_novels_corpus_CLARIN-PL` | CC-BY-4.0 label, but 'novels' likely include in-copyright contemporary works; verify titles/years on CLARIN handle 11321/312 before inclusion. | | `project_gutenberg_pl_corpus` | Only 31 PL books (4.3MB) — PG is ~99% English; Polish PD literature already covered by wolne_lektury + wikisource (so near-redundant after dedup). Dropped to avoid the PD-in-EU per-work check (PG claims PD-in-US only) for negligible token gain. | ## Personal & sensitive data This corpus contains **only** text that its upstream sources already published under open licenses or as official public-domain record. It therefore includes names and statements of **public figures acting in a public capacity** — e.g. parliamentary speakers (PPC), authorities named in legal acts (EUR-Lex), and people described in encyclopedic articles (Wikipedia/Wikisource). No private, non-public personal data was collected or added. If you are a data subject and want content concerning you removed, contact **k.wikiel@gmail.com** — it will be dropped from the next version (see retroactive-removal policy below). ## Disclaimer & legal - **Provenance in good faith.** Per-source licenses are reproduced *as documented by the upstream sources and by SpeakLeash* (the intermediate aggregator), to the best of our knowledge. We make no independent legal warranty about the copyright status of any individual document. - **No ownership claim.** This release is a *curated, license-reviewed, documented aggregation*. We claim no ownership of the underlying texts; rights remain with the original authors/rightsholders under their respective licenses. - **Provided "as is"**, without warranty of any kind, express or implied. This is not legal advice. - **Your compliance is yours.** Downstream users must satisfy each upstream license themselves — in particular **CC-BY-SA-4.0 attribution and share-alike** for derivatives of this dataset, and attribution to the upstream sources and to SpeakLeash. - **Notice-and-takedown.** Any source or rightsholder raising a substantiated objection can have material removed: contact **k.wikiel@gmail.com**; it is dropped from the next version and recorded in the CHANGELOG. Removal is retroactive going-forward (prior immutable snapshots/commits may persist). ## License & attribution Released under **CC-BY-SA-4.0** (copyleft inherited from CC-BY-SA sources such as Wikipedia/Wikisource/Wolne Lektury). Attribution due to each upstream (see datasheets) and to **SpeakLeash** as the intermediate aggregator. Retroactive-removal policy: a source that raises an objection is dropped from subsequent versions, recorded in the CHANGELOG. ## Reproduce ```bash python3 src/build_dynaword.py --all --speakleash-dir --out . python3 src/make_docs.py ```