Datasets:
File size: 12,612 Bytes
cfe406c a4f2b0d cfe406c a4f2b0d cfe406c 7f60607 cfe406c a4f2b0d cfe406c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 | """Source registry for Polish DynaWord.
Each entry = one openly-licensed, *traceable* human-text source (paper 2508.02271,
principle: open+traceable licensing). The `traceable` field documents WHY the
license holds (not just "it's public domain") — e.g. statutory basis or upstream
license — as required by the Dynaword guidelines.
Provenance note: data is pulled from SpeakLeash's public redistribution
(iDrive e2 bucket) of these upstream sources; SpeakLeash is credited as the
intermediate aggregator, upstream license/attribution is preserved per source.
"""
# clean-6: passed the copyright review (2026-06-15). open_subtitles excluded
# (derivative of copyrighted film dialogue — same lesson as Danish Gigaword).
# Large cultural/academic sources require per-record rights metadata and should
# be rebuilt from direct upstream/export scripts rather than blind SpeakLeash pulls.
SOURCES = {
"wikipedia": {
"speakleash_key": "plwiki",
"pretty": "Polish Wikipedia",
"license": "CC-BY-SA-3.0",
"license_spdx": "CC-BY-SA-3.0",
"traceable": "Wikimedia dumps explicitly released under CC-BY-SA 3.0; "
"attribution to contributors + share-alike preserved.",
"upstream": "https://dumps.wikimedia.org/plwiki/latest/",
"domain": "encyclopedic",
"created": "2001-01-15, 2026-06-14",
"is_ocr": False,
},
"wikisource": {
"speakleash_key": "plwikisource",
"pretty": "Polish Wikisource",
"license": "CC-BY-SA-3.0",
"license_spdx": "CC-BY-SA-3.0",
"traceable": "Wikimedia dumps under CC-BY-SA 3.0; underlying texts are "
"public-domain works transcribed by the community.",
"upstream": "https://dumps.wikimedia.org/plwikisource/latest/",
"domain": "books/source-texts",
"created": "2005-01-01, 2026-06-14",
"is_ocr": False,
},
"eurlex": {
"speakleash_key": "eurlex_corpus",
"pretty": "EUR-Lex (EU legal acts, Polish)",
"license": "CC-BY-4.0",
"license_spdx": "CC-BY-4.0",
"traceable": "EU documents reusable under Commission Decision 2011/833/EU; "
"normative acts fall outside copyright (PL art. 4 pr. aut.). "
"Reuse authorised with source acknowledgement.",
"upstream": "https://eur-lex.europa.eu",
"domain": "legal",
"created": "1952-01-01, 2024-12-31",
"is_ocr": False,
},
"parliamentary": {
"speakleash_key": "PPC_corpus",
"pretty": "Polish Parliamentary Corpus (Sejm/Senat)",
"license": "public-domain (official documents)",
"license_spdx": "CC-BY-4.0",
"traceable": "Parliamentary proceedings are official documents outside "
"copyright (PL art. 4 pr. aut.); PPC redistributed by IPI PAN "
"under CC-BY-4.0.",
"upstream": "http://clip.ipipan.waw.pl/PPC",
"domain": "political/spoken",
"created": "1991-01-01, 2019-12-31",
"is_ocr": False,
},
"wolne_lektury": {
"speakleash_key": "wolne_lektury_corpus",
"pretty": "Wolne Lektury (school readings)",
"license": "CC-BY-SA-4.0 / Wolna Sztuka 1.3",
"license_spdx": "CC-BY-SA-4.0",
"traceable": "Wolne Lektury publishes under CC-BY-SA 4.0 or Free Art "
"License; texts are public-domain classics + cleared works.",
"upstream": "https://wolnelektury.pl/api/books/",
"domain": "literature",
"created": "1500-01-01, 2024-12-31",
"is_ocr": False,
},
"wikinews": {
"file_key": "plwikinews", # fetched from Wikimedia dumps, NOT via SpeakLeash
"pretty": "Polish Wikinews",
"license": "CC-BY-2.5",
"license_spdx": "CC-BY-2.5",
"traceable": "Wikinews content is released under CC-BY 2.5; attribution to "
"contributors preserved.",
"upstream": "https://pl.wikinews.org/",
"provenance": "Fetched directly from the official Wikimedia dump "
"(plwikinews-latest-pages-articles) by src/fetch_wikimedia.py; "
"mainspace only, wikitext stripped via mwparserfromhell.",
"domain": "news",
"created": "2005-01-01, 2025-12-31",
"is_ocr": False,
},
"wikivoyage": {
"file_key": "plwikivoyage",
"pretty": "Polish Wikivoyage (travel guides)",
"license": "CC-BY-SA-3.0",
"license_spdx": "CC-BY-SA-3.0",
"traceable": "Wikivoyage content is released under CC-BY-SA 3.0; "
"attribution + share-alike preserved.",
"upstream": "https://pl.wikivoyage.org/",
"provenance": "Fetched directly from the official Wikimedia dump "
"(plwikivoyage-latest-pages-articles) by src/fetch_wikimedia.py; "
"mainspace only, wikitext stripped via mwparserfromhell.",
"domain": "travel",
"created": "2012-01-01, 2025-12-31",
"is_ocr": False,
},
"wikibooks": {
"file_key": "plwikibooks",
"pretty": "Polish Wikibooks (open textbooks)",
"license": "CC-BY-SA-3.0",
"license_spdx": "CC-BY-SA-3.0",
"traceable": "Wikibooks content is released under CC-BY-SA 3.0; "
"attribution + share-alike preserved.",
"upstream": "https://pl.wikibooks.org/",
"provenance": "Fetched directly from the official Wikimedia dump "
"(plwikibooks-latest-pages-articles) by src/fetch_wikimedia.py; "
"mainspace only, wikitext stripped via mwparserfromhell.",
"domain": "instructional",
"created": "2004-01-01, 2025-12-31",
"is_ocr": False,
},
"wikiquote": {
"file_key": "plwikiquote",
"pretty": "Polish Wikiquote (quotations)",
"license": "CC-BY-SA-3.0",
"license_spdx": "CC-BY-SA-3.0",
"traceable": "Wikiquote content is released under CC-BY-SA 3.0; "
"attribution + share-alike preserved.",
"upstream": "https://pl.wikiquote.org/",
"provenance": "Fetched directly from the official Wikimedia dump "
"(plwikiquote-latest-pages-articles) by src/fetch_wikimedia.py; "
"mainspace only, wikitext stripped via mwparserfromhell.",
"domain": "quotations",
"created": "2005-01-01, 2025-12-31",
"is_ocr": False,
},
"eltec_pol": {
"file_key": "eltec_pol",
"pretty": "ELTeC-pol (European Literary Text Collection, Polish)",
"license": "CC-BY-4.0",
"license_spdx": "CC-BY-4.0",
"traceable": "ELTeC corpora are released under CC-BY 4.0 by the COST Action "
"'Distant Reading for European Literary History' (CA16204).",
"upstream": "https://github.com/COST-ELTeC/ELTeC-pol",
"provenance": "Fetched directly from the COST-ELTeC/ELTeC-pol GitHub "
"repository (level1 TEI) by src/fetch_eltec.py; reading text "
"extracted from TEI <body> paragraphs.",
"domain": "literature",
"created": "1840-01-01, 1920-12-31",
"is_ocr": False,
},
"dziennik_ustaw": {
"file_key": "dziennik_ustaw", # fetched directly, NOT via SpeakLeash
"pretty": "Dziennik Ustaw + Monitor Polski (Polish primary legislation)",
"license": "public-domain (official documents)",
"license_spdx": "CC0-1.0",
"traceable": "Normative acts and their official drafts are not subject to "
"copyright (PL art. 4 ustawy o prawie autorskim). Published by "
"the state; reuse unrestricted.",
"upstream": "https://api.sejm.gov.pl/eli/acts",
"provenance": "Fetched directly from the Sejm ELI API (text.html per act) "
"by src/fetch_eli.py — a native source, not redistributed via "
"SpeakLeash. Full provenance: each act's `meta.url` is its ELI "
"address, resolvable on api.sejm.gov.pl.",
"domain": "legal",
"created": "1918-01-01, 2025-12-31",
"is_ocr": False,
},
"1000_novels": {
"file_key": "1000_novels_corpus_CLARIN-PL",
"pretty": "1000 Novels Corpus (CLARIN-PL)",
"license": "CC-BY-4.0",
"license_spdx": "CC-BY-4.0",
"traceable": "The 1000 Novels Corpus is released under Creative Commons "
"Attribution 4.0 International by CLARIN-PL / Wrocław "
"University of Technology, with attribution to the corpus "
"authors and maintainers.",
"upstream": "https://clarin-pl.eu/dspace/handle/11321/312",
"provenance": "Pulled from SpeakLeash's public redistribution "
"(`speakleash-ds-pub`, key `1000_novels_corpus_CLARIN-PL`) "
"of the upstream CLARIN-PL source. SpeakLeash credited as "
"intermediate aggregator; upstream license/attribution "
"preserved.",
"domain": "literature",
"created": "unknown",
"is_ocr": False,
},
"biblioteka_nauki": {
"file_key": "biblioteka_nauki_pl_corpus",
"pretty": "Biblioteka Nauki",
"license": "per-record upstream license",
"license_spdx": "MIXED",
"traceable": "Documents are accepted only when the direct upstream record "
"exposes a reusable license. The parquet carries the "
"per-document `license` and `author` fields from the upstream "
"metadata collected by the source-specific rebuild script.",
"upstream": "https://bibliotekanauki.pl/",
"provenance": "Fetched directly from Biblioteka Nauki via a reproducible "
"source-specific script, not from the SpeakLeash "
"redistribution. License and author metadata are checked "
"document by document before normalization into the DynaWord "
"schema.",
"domain": "academic",
"created": "unknown",
"is_ocr": False,
},
"europeana": {
"file_key": "europeana_eu_pl_corpus",
"pretty": "Europeana Polish records",
"license": "per-record public-domain/open rights statement",
"license_spdx": "MIXED",
"traceable": "Documents are accepted only with per-record Europeana rights "
"metadata classified as public-domain/open. Public-domain "
"status is jurisdiction-sensitive; downstream users must "
"check their local legal requirements.",
"upstream": "https://www.europeana.eu/",
"provenance": "Fetched directly from Europeana via a reproducible "
"source-specific script, preserving per-record rights and "
"creator metadata. The raw SpeakLeash aggregate remains "
"insufficient because it does not carry enough rights "
"evidence for release.",
"domain": "cultural heritage",
"created": "unknown",
"is_ocr": True,
"legal_note": "Europeana public-domain statements are primarily evaluated "
"for Poland/EU. For US reuse, records created/published "
"before 1929 are the conservative release slice; later "
"records should remain separately labeled or held until "
"legal review confirms their US status.",
},
}
ADDED = "2026-07-02"
EXCLUDED = {
"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_raw_speakleash": "Aggregated items with mixed "
"per-record rights (PD / CC-BY-NC / rights-reserved). The raw "
"SpeakLeash redistribution is excluded; only a direct rebuild preserving "
"per-record rights metadata may be included.",
"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.",
}
|