| """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. |
| """ |
|
|
| |
| |
| |
| 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", |
| "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", |
| "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, |
| }, |
| } |
|
|
| ADDED = "2026-06-15" |
| 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": "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.", |
| } |
|
|