Datasets:
Withdraw wikiquote: most quotations are in copyright (#59)
Browse files- Withdraw wikiquote: most quotations are in copyright (b0aad2d5a74af880afedbaf1e970f49455e21fa7)
- CHANGELOG.md +18 -3
- README.md +15 -5
- artifacts/source_findings.md +30 -0
- data/wikiquote/wikiquote.md +0 -43
- data/wikiquote/wikiquote.parquet +0 -3
- data/wikiquote/wikiquote.stats.json +0 -16
- src/fetch_wikimedia.py +2 -3
- src/sources.py +6 -0
CHANGELOG.md
CHANGED
|
@@ -53,15 +53,30 @@ Removed from main:
|
|
| 53 |
cannot carry, and the Sentence Collector sentences have no recorded sources.
|
| 54 |
The registry entry, fetcher, contract test, ontology manifest and language
|
| 55 |
audit were removed with the data.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
Changed on main:
|
| 58 |
|
| 59 |
- `samorzad_gov_pl` rebuilt from the de-identified upstream v0.2 (Dawid
|
| 60 |
Majewski, Hub PR #15, landed as #46): 72,771 documents / 41,154,506 tokens
|
| 61 |
in v0.2.5 → 72,472 / 40,011,099 on main.
|
| 62 |
-
-
|
| 63 |
-
|
| 64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
Tooling and process:
|
| 67 |
|
|
|
|
| 53 |
cannot carry, and the Sentence Collector sentences have no recorded sources.
|
| 54 |
The registry entry, fetcher, contract test, ontology manifest and language
|
| 55 |
audit were removed with the data.
|
| 56 |
+
- `wikiquote` (30,363 documents / 31,896,591 tokens in v0.2.0-v0.2.5) was
|
| 57 |
+
removed on 2026-10-05. The October rights audit labelled 158 of 200 randomly
|
| 58 |
+
sampled pages as quoting works still in copyright; CC BY-SA covers the
|
| 59 |
+
contributors' selection, not the quotes, which rest on the Art. 29 quotation
|
| 60 |
+
right. As with HPLT, the registry keeps its `release: "0.2.0"` entry (with a
|
| 61 |
+
`legal_note`) and `make_docs.py` skips it; `plwikiquote` was dropped from
|
| 62 |
+
`src/fetch_wikimedia.py`. The v0.2.0-v0.2.5 tags still contain it.
|
| 63 |
|
| 64 |
Changed on main:
|
| 65 |
|
| 66 |
- `samorzad_gov_pl` rebuilt from the de-identified upstream v0.2 (Dawid
|
| 67 |
Majewski, Hub PR #15, landed as #46): 72,771 documents / 41,154,506 tokens
|
| 68 |
in v0.2.5 → 72,472 / 40,011,099 on main.
|
| 69 |
+
- `1000_novels` keeps only its public-domain texts, relabelled
|
| 70 |
+
`public-domain` (Hub PRs #49, #55): 1,000 documents / 60,517,363 tokens in
|
| 71 |
+
v0.2.5 → 837 / 51,765,528 on main.
|
| 72 |
+
- `wiktionary_examples` dropped the lines quoting third-party works and is
|
| 73 |
+
relabelled `CC-BY-SA-4.0` (Hub PR #50): 8,639 documents / 1,115,820 tokens
|
| 74 |
+
in v0.2.5 → 1,818 / 207,181 on main.
|
| 75 |
+
- `nkjp1m` is relabelled `CC-BY-4.0` per the NKJP Consortium, with an agreed
|
| 76 |
+
`ATTRIBUTION.md` (Hub PR #51); documents and text unchanged.
|
| 77 |
+
- The 18 v0.2.5 sources still on main total 2,725,031 documents /
|
| 78 |
+
7,078,287,856 tokens; all 33 sources on main total 4,010,443 documents /
|
| 79 |
+
8,335,077,871 tokens.
|
| 80 |
|
| 81 |
Tooling and process:
|
| 82 |
|
README.md
CHANGED
|
@@ -23,8 +23,9 @@ family (Enevoldsen et al., [arXiv:2508.02271](https://arxiv.org/abs/2508.02271))
|
|
| 23 |
> (tiktoken proxy; canonical Llama-3 count at release) · 20 sources
|
| 24 |
> Updated: **2026-08-14**
|
| 25 |
|
| 26 |
-
> **main, not a release (2026-
|
| 27 |
-
> **8.
|
|
|
|
| 28 |
> plus the 15 sources [planned for v0.2.6](#v026-dev-planned-sources-on-main-not-yet-released). Cite
|
| 29 |
> the `v0.2.5` tag, not main.
|
| 30 |
|
|
@@ -199,7 +200,7 @@ files is not listed as a data contribution.
|
|
| 199 |
| [1000_novels](data/1000_novels/1000_novels.md) | 1000 Novels Corpus (CLARIN-PL) | `CC-BY-4.0` | 1,000 | 60.5M |
|
| 200 |
| [samorzad_gov_pl](data/samorzad_gov_pl/samorzad_gov_pl.md) | samorzad.gov.pl — Polish public-sector institutions | `CC-BY-SA-4.0` | 72,771 | 41.2M |
|
| 201 |
| [sejm_api](data/sejm_api/sejm_api.md) | Sejm API parliamentary speeches (2023 onward) | `public-domain (official documents)` | 38,812 | 36.3M |
|
| 202 |
-
|
|
| 203 |
| [eltec_pol](data/eltec_pol/eltec_pol.md) | ELTeC-pol (European Literary Text Collection, Polish) | `CC-BY-4.0` | 100 | 21.5M |
|
| 204 |
| [wikivoyage](data/wikivoyage/wikivoyage.md) | Polish Wikivoyage (travel guides) | `CC-BY-SA-3.0` | 13,645 | 17.1M |
|
| 205 |
| [wikibooks](data/wikibooks/wikibooks.md) | Polish Wikibooks (open textbooks) | `CC-BY-SA-3.0` | 9,112 | 15.6M |
|
|
@@ -217,8 +218,17 @@ Main has changed since:
|
|
| 217 |
- `samorzad_gov_pl` was rebuilt from the de-identified upstream v0.2:
|
| 218 |
72,472 documents / 40.0M tokens
|
| 219 |
([PR #46](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/46), scoped from [PR #15](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/15)).
|
| 220 |
-
|
| 221 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 222 |
|
| 223 |
## v0.2.6-dev: planned sources (on main, not yet released)
|
| 224 |
The planned content of v0.2.6. Built and documented, but **not** part of v0.2.5 and excluded from every total
|
|
|
|
| 23 |
> (tiktoken proxy; canonical Llama-3 count at release) · 20 sources
|
| 24 |
> Updated: **2026-08-14**
|
| 25 |
|
| 26 |
+
> **main, not a release (2026-10-05)** · 33 sources · 4,010,443 documents ·
|
| 27 |
+
> **8.34B tokens**: 18 of the 20 v0.2.5 sources (`european_hplt_v3_pl` and
|
| 28 |
+
> `wikiquote` withdrawn)
|
| 29 |
> plus the 15 sources [planned for v0.2.6](#v026-dev-planned-sources-on-main-not-yet-released). Cite
|
| 30 |
> the `v0.2.5` tag, not main.
|
| 31 |
|
|
|
|
| 200 |
| [1000_novels](data/1000_novels/1000_novels.md) | 1000 Novels Corpus (CLARIN-PL) | `CC-BY-4.0` | 1,000 | 60.5M |
|
| 201 |
| [samorzad_gov_pl](data/samorzad_gov_pl/samorzad_gov_pl.md) | samorzad.gov.pl — Polish public-sector institutions | `CC-BY-SA-4.0` | 72,771 | 41.2M |
|
| 202 |
| [sejm_api](data/sejm_api/sejm_api.md) | Sejm API parliamentary speeches (2023 onward) | `public-domain (official documents)` | 38,812 | 36.3M |
|
| 203 |
+
| wikiquote *(withdrawn from main after v0.2.5, mostly in-copyright quotations)* | Polish Wikiquote (quotations) | `CC-BY-SA-3.0` | 30,363 | 31.9M |
|
| 204 |
| [eltec_pol](data/eltec_pol/eltec_pol.md) | ELTeC-pol (European Literary Text Collection, Polish) | `CC-BY-4.0` | 100 | 21.5M |
|
| 205 |
| [wikivoyage](data/wikivoyage/wikivoyage.md) | Polish Wikivoyage (travel guides) | `CC-BY-SA-3.0` | 13,645 | 17.1M |
|
| 206 |
| [wikibooks](data/wikibooks/wikibooks.md) | Polish Wikibooks (open textbooks) | `CC-BY-SA-3.0` | 9,112 | 15.6M |
|
|
|
|
| 218 |
- `samorzad_gov_pl` was rebuilt from the de-identified upstream v0.2:
|
| 219 |
72,472 documents / 40.0M tokens
|
| 220 |
([PR #46](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/46), scoped from [PR #15](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/15)).
|
| 221 |
+
- `1000_novels` keeps only its 837 public-domain texts (51.8M tokens),
|
| 222 |
+
relabelled `public-domain`: the CLARIN-PL record is metadata-only, so no
|
| 223 |
+
licence covers the texts ([PR #49](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/49), [PR #55](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/55)).
|
| 224 |
+
- `wiktionary_examples` dropped the lines quoting third-party works and is
|
| 225 |
+
relabelled `CC-BY-SA-4.0`: 1,818 documents / 0.2M tokens ([PR #50](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/50)).
|
| 226 |
+
- `nkjp1m` is relabelled `CC-BY-4.0` per the NKJP Consortium and ships an
|
| 227 |
+
agreed attribution file; its text is unchanged ([PR #51](https://huggingface.co/datasets/SlayerLab/polish-dynaword/discussions/51)).
|
| 228 |
+
- `wikiquote` was removed from main: most of its pages quote works still in
|
| 229 |
+
copyright, and its CC BY-SA label covers only the contributors' selection.
|
| 230 |
+
|
| 231 |
+
The 18 v0.2.5 sources still on main total 2,725,031 documents / 7,078.3M tokens.
|
| 232 |
|
| 233 |
## v0.2.6-dev: planned sources (on main, not yet released)
|
| 234 |
The planned content of v0.2.6. Built and documented, but **not** part of v0.2.5 and excluded from every total
|
artifacts/source_findings.md
CHANGED
|
@@ -1198,3 +1198,33 @@ References: `rights_audit_2026-10/reports/citations.md` L35;
|
|
| 1198 |
**Lesson** — a dataset-level CC0 is only as good as the per-item provenance behind it.
|
| 1199 |
Match the items against the platform's own source files before trusting the label. A
|
| 1200 |
public-sector text with an attribution condition cannot be relabelled CC0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1198 |
**Lesson** — a dataset-level CC0 is only as good as the per-item provenance behind it.
|
| 1199 |
Match the items against the platform's own source files before trusting the label. A
|
| 1200 |
public-sector text with an attribution condition cannot be relabelled CC0.
|
| 1201 |
+
|
| 1202 |
+
## wikiquote — withdrawn (2026-10-05)
|
| 1203 |
+
|
| 1204 |
+
**Verdict** — `removed`, whole source, from main and from v0.2.6. Released in v0.2.0 and
|
| 1205 |
+
in every tag through v0.2.5, which stay as published. 30,363 documents / 31,896,591
|
| 1206 |
+
tokens dropped. As with HPLT, the registry keeps its `release: "0.2.0"` entry, now with
|
| 1207 |
+
a `legal_note`; `make_docs.py` skips it (no stats file). `plwikiquote` was removed from
|
| 1208 |
+
`src/fetch_wikimedia.py`, so a default run no longer fetches it. The audit's
|
| 1209 |
+
alternative, screening per page for authors and translators who died in 1955 or
|
| 1210 |
+
earlier, was not chosen; its 10-20% yield estimate was not reproduced (Q14).
|
| 1211 |
+
|
| 1212 |
+
**Reason** — most of the text quotes other people's works. CC BY-SA covers the
|
| 1213 |
+
contributors' selection and wording, not the quotes. The quotes rest on the Art. 29
|
| 1214 |
+
quotation right (t.j. Dz.U. 2025 poz. 24), which is purpose-bound and is not a licence
|
| 1215 |
+
to downstream users; its reach to bulk reuse is inferred, not verified.
|
| 1216 |
+
- Random 200-page sample (seed 1), audit's own labels: 158 in copyright (79%, Wilson
|
| 1217 |
+
72.8-84.1%), 20 public domain, 13 mixed, 7 translation-only, 2 unknown. The citation
|
| 1218 |
+
pass checked only the arithmetic, not the labelling (Q13).
|
| 1219 |
+
- Example: `wikiquote_2429270` is the page on Alice Sebold (b. 1963), quoted in modern
|
| 1220 |
+
translations (Q10-Q12).
|
| 1221 |
+
- The 1,000-character quote cap is a length guideline with exceptions up to 1,800
|
| 1222 |
+
characters, not a copyright rule (Q1-Q3). No pl.wikiquote copyright-policy page was
|
| 1223 |
+
found (Q8).
|
| 1224 |
+
|
| 1225 |
+
References: `rights_audit_2026-10/reports/wikis_ugc.md` L1-4; `reports/citations.md`
|
| 1226 |
+
L11; `reports/citations/wikimedia.md` section 3 (Q1-Q14); sample in
|
| 1227 |
+
`rights_audit_2026-10/wikis/wq_sample.json`.
|
| 1228 |
+
|
| 1229 |
+
**Lesson** — a project licence covers what the project's contributors wrote. On a
|
| 1230 |
+
quotation site that is the framing, not the quoted text.
|
data/wikiquote/wikiquote.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
# wikiquote
|
| 2 |
-
|
| 3 |
-
Polish Wikiquote (quotations)
|
| 4 |
-
|
| 5 |
-
## Dataset description
|
| 6 |
-
- **Source (upstream):** https://pl.wikiquote.org/
|
| 7 |
-
- **Domain:** quotations
|
| 8 |
-
- **Language:** Polish (pl)
|
| 9 |
-
- **License:** `CC-BY-SA-3.0`
|
| 10 |
-
- **Created (range):** 2005-01-01, 2025-12-31
|
| 11 |
-
- **Added:** 2026-07-02
|
| 12 |
-
|
| 13 |
-
## Licensing — traceable basis
|
| 14 |
-
Wikiquote content is released under CC-BY-SA 3.0; attribution + share-alike preserved.
|
| 15 |
-
|
| 16 |
-
## Provenance
|
| 17 |
-
Fetched directly from the official Wikimedia dump (plwikiquote-latest-pages-articles) by src/fetch_wikimedia.py; mainspace only, wikitext stripped via mwparserfromhell.
|
| 18 |
-
|
| 19 |
-
## Statistics
|
| 20 |
-
| documents | characters | tokens (tiktoken proxy) |
|
| 21 |
-
|---:|---:|---:|
|
| 22 |
-
| 30,363 | 82,338,997 | 31,896,591 |
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
## Per-document license metadata
|
| 26 |
-
| license | documents |
|
| 27 |
-
|---|---:|
|
| 28 |
-
| `CC-BY-SA-3.0` | 30,363 |
|
| 29 |
-
|
| 30 |
-
Author metadata present for **0** documents. Empty values mean the upstream record did not expose a machine-readable author field.
|
| 31 |
-
|
| 32 |
-
Statistics were recomputed directly from the released parquet file.
|
| 33 |
-
|
| 34 |
-
## Filters applied (build_dynaword.py)
|
| 35 |
-
Minimal, per Dynaword guidelines (heavy filtering left to downstream use):
|
| 36 |
-
- drop documents < 200 chars: **0**
|
| 37 |
-
- drop non-Polish (diacritic ratio): **0**
|
| 38 |
-
- exact cross-source dedup (sha1): **0**
|
| 39 |
-
- OCR alpha-ratio < 0.70 (OCR sources only): **0**
|
| 40 |
-
- read 30,363 → kept 30,363
|
| 41 |
-
|
| 42 |
-
Token counts are a fast tiktoken (cl100k) proxy (~1% off Llama-3); the canonical
|
| 43 |
-
Llama-3 count is computed at release.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data/wikiquote/wikiquote.parquet
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3683d8387cc7f5302f1417efeff6300026b11f5058dedaa3207c76172cfaea14
|
| 3 |
-
size 39323156
|
|
|
|
|
|
|
|
|
|
|
|
data/wikiquote/wikiquote.stats.json
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"read": 30363,
|
| 3 |
-
"kept": 30363,
|
| 4 |
-
"drop_short": 0,
|
| 5 |
-
"drop_lang": 0,
|
| 6 |
-
"drop_dup": 0,
|
| 7 |
-
"drop_ocr": 0,
|
| 8 |
-
"chars": 82338997,
|
| 9 |
-
"tokens": 31896591,
|
| 10 |
-
"licenses": {
|
| 11 |
-
"CC-BY-SA-3.0": 30363
|
| 12 |
-
},
|
| 13 |
-
"authors_with_value": 0,
|
| 14 |
-
"license": "CC-BY-SA-3.0",
|
| 15 |
-
"stats_recomputed_from_parquet": true
|
| 16 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/fetch_wikimedia.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
-
"""Fetch Polish Wikimedia sibling projects (Wikinews/Wikivoyage/Wikibooks
|
| 3 |
from the official dumps into SpeakLeash-style .jsonl.zst, so build_dynaword.py
|
| 4 |
consumes them unchanged. All are CC-BY-SA (same basis as Wikipedia/Wikisource).
|
| 5 |
|
|
@@ -8,7 +8,7 @@ via mwparserfromhell.
|
|
| 8 |
|
| 9 |
Usage:
|
| 10 |
python3 src/fetch_wikimedia.py --out ~/Local/Ventures/Slayer/data/speakleash \
|
| 11 |
-
--wikis plwikinews plwikivoyage plwikibooks
|
| 12 |
"""
|
| 13 |
from __future__ import annotations
|
| 14 |
import argparse, bz2, json, subprocess, time
|
|
@@ -25,7 +25,6 @@ SITE = {
|
|
| 25 |
"plwikinews": ("https://pl.wikinews.org/wiki/", "news"),
|
| 26 |
"plwikivoyage": ("https://pl.wikivoyage.org/wiki/", "travel"),
|
| 27 |
"plwikibooks": ("https://pl.wikibooks.org/wiki/", "howto"),
|
| 28 |
-
"plwikiquote": ("https://pl.wikiquote.org/wiki/", "quotes"),
|
| 29 |
}
|
| 30 |
|
| 31 |
|
|
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
+
"""Fetch Polish Wikimedia sibling projects (Wikinews/Wikivoyage/Wikibooks)
|
| 3 |
from the official dumps into SpeakLeash-style .jsonl.zst, so build_dynaword.py
|
| 4 |
consumes them unchanged. All are CC-BY-SA (same basis as Wikipedia/Wikisource).
|
| 5 |
|
|
|
|
| 8 |
|
| 9 |
Usage:
|
| 10 |
python3 src/fetch_wikimedia.py --out ~/Local/Ventures/Slayer/data/speakleash \
|
| 11 |
+
--wikis plwikinews plwikivoyage plwikibooks
|
| 12 |
"""
|
| 13 |
from __future__ import annotations
|
| 14 |
import argparse, bz2, json, subprocess, time
|
|
|
|
| 25 |
"plwikinews": ("https://pl.wikinews.org/wiki/", "news"),
|
| 26 |
"plwikivoyage": ("https://pl.wikivoyage.org/wiki/", "travel"),
|
| 27 |
"plwikibooks": ("https://pl.wikibooks.org/wiki/", "howto"),
|
|
|
|
| 28 |
}
|
| 29 |
|
| 30 |
|
src/sources.py
CHANGED
|
@@ -368,6 +368,12 @@ SOURCES = {
|
|
| 368 |
"domain": "quotations",
|
| 369 |
"created": "2005-01-01, 2025-12-31",
|
| 370 |
"is_ocr": False,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 371 |
},
|
| 372 |
"open_agh_chemistry_pl": {
|
| 373 |
"added": "2026-09-05",
|
|
|
|
| 368 |
"domain": "quotations",
|
| 369 |
"created": "2005-01-01, 2025-12-31",
|
| 370 |
"is_ocr": False,
|
| 371 |
+
"legal_note": "Withdrawn from main on 2026-10-05; not in v0.2.6. The October "
|
| 372 |
+
"rights audit labelled 158 of 200 randomly sampled pages as "
|
| 373 |
+
"quoting works still in copyright. CC BY-SA covers the "
|
| 374 |
+
"contributors' selection, not the quotes, which rest on the "
|
| 375 |
+
"Art. 29 quotation right, not a licence. The v0.2.0-v0.2.5 tags "
|
| 376 |
+
"still contain it.",
|
| 377 |
},
|
| 378 |
"open_agh_chemistry_pl": {
|
| 379 |
"added": "2026-09-05",
|