Datasets:
dziennik_ustaw: license_spdx CC0-1.0 -> LicenseRef-Polish-Official-Documents (#103)
Browse files- dziennik_ustaw: license_spdx CC0-1.0 -> LicenseRef-Polish-Official-Documents (d630727c20c09ffdc42e3370f3a4aa3151421bb8)
- PAPER.md +1 -1
- src/sources.py +1 -1
- src/verify_paper_claims.py +5 -4
PAPER.md
CHANGED
|
@@ -98,7 +98,7 @@ the *traceable basis* for its license.
|
|
| 98 |
| Polish Wikibooks | instructional | CC-BY-SA-3.0 | Wikibooks released under CC-BY-SA 3.0 |
|
| 99 |
| Polish Wikiquote | quotations | CC-BY-SA-3.0 | Wikiquote released under CC-BY-SA 3.0 |
|
| 100 |
| ELTeC-pol | literature (1840–1920) | CC-BY-4.0 | COST Action CA16204 release under CC-BY 4.0 |
|
| 101 |
-
| Dziennik Ustaw + Monitor Polski | national legislation | public-domain (
|
| 102 |
|
| 103 |
Because two included sources (Wikipedia/Wikisource, Wolne Lektury) are
|
| 104 |
share-alike, the **aggregate corpus is released under CC-BY-SA-4.0**, with
|
|
|
|
| 98 |
| Polish Wikibooks | instructional | CC-BY-SA-3.0 | Wikibooks released under CC-BY-SA 3.0 |
|
| 99 |
| Polish Wikiquote | quotations | CC-BY-SA-3.0 | Wikiquote released under CC-BY-SA 3.0 |
|
| 100 |
| ELTeC-pol | literature (1840–1920) | CC-BY-4.0 | COST Action CA16204 release under CC-BY 4.0 |
|
| 101 |
+
| Dziennik Ustaw + Monitor Polski | national legislation | public-domain (official documents) | Normative acts not subject to copyright (PL art. 4 *pr. aut.*); fetched directly from the Sejm ELI API |
|
| 102 |
|
| 103 |
Because two included sources (Wikipedia/Wikisource, Wolne Lektury) are
|
| 104 |
share-alike, the **aggregate corpus is released under CC-BY-SA-4.0**, with
|
src/sources.py
CHANGED
|
@@ -626,7 +626,7 @@ SOURCES = {
|
|
| 626 |
"file_key": "dziennik_ustaw", # fetched directly, NOT via SpeakLeash
|
| 627 |
"pretty": "Dziennik Ustaw + Monitor Polski (Polish primary legislation)",
|
| 628 |
"license": "public-domain (official documents)",
|
| 629 |
-
"license_spdx": "
|
| 630 |
"traceable": "Normative acts and their official drafts are not subject to "
|
| 631 |
"copyright (PL art. 4 ustawy o prawie autorskim). Published by "
|
| 632 |
"the state; reuse unrestricted.",
|
|
|
|
| 626 |
"file_key": "dziennik_ustaw", # fetched directly, NOT via SpeakLeash
|
| 627 |
"pretty": "Dziennik Ustaw + Monitor Polski (Polish primary legislation)",
|
| 628 |
"license": "public-domain (official documents)",
|
| 629 |
+
"license_spdx": "LicenseRef-Polish-Official-Documents",
|
| 630 |
"traceable": "Normative acts and their official drafts are not subject to "
|
| 631 |
"copyright (PL art. 4 ustawy o prawie autorskim). Published by "
|
| 632 |
"the state; reuse unrestricted.",
|
src/verify_paper_claims.py
CHANGED
|
@@ -435,10 +435,11 @@ def check_composition(report: Report, tex: str, root: Path, ref: str) -> None:
|
|
| 435 |
def norm_license(text: str) -> tuple[str, str | None]:
|
| 436 |
"""Canonical (family, version) so paper, registry and datasheet can be compared.
|
| 437 |
|
| 438 |
-
Public domain, official documents and CC0 are one family:
|
| 439 |
-
documents
|
| 440 |
-
records. A version of None means the text states no version, and
|
| 441 |
-
any version -- the paper prints nkjp1m's CC-BY-4.0 as "CC BY" on
|
|
|
|
| 442 |
"""
|
| 443 |
t = re.sub(r"[`_]", " ", text).upper()
|
| 444 |
if re.search(r"PER-RECORD|PER-DOCUMENT|MIXED", t):
|
|
|
|
| 435 |
def norm_license(text: str) -> tuple[str, str | None]:
|
| 436 |
"""Canonical (family, version) so paper, registry and datasheet can be compared.
|
| 437 |
|
| 438 |
+
Public domain, official documents and CC0 are one family: the registry spells
|
| 439 |
+
official documents as LicenseRef-Polish-Official-Documents, and the paper prints
|
| 440 |
+
them as official records. A version of None means the text states no version, and
|
| 441 |
+
compares equal to any version -- the paper prints nkjp1m's CC-BY-4.0 as "CC BY" on
|
| 442 |
+
purpose.
|
| 443 |
"""
|
| 444 |
t = re.sub(r"[`_]", " ", text).upper()
|
| 445 |
if re.search(r"PER-RECORD|PER-DOCUMENT|MIXED", t):
|