wolne_lektury: strip 23 "przyp. red." notes, hold out 174 rows of two later editors' selections, card fixes (v2#109)

#191
by ppuzio - opened
Commit history is no longer available for this pull request.
Fabryka AI org
•
edited 7 days ago

Follow-up to 190, from the editions check in v2#109. 6,074 → 5,900 documents, 233,812,331 → 233,556,266 characters, 91,823,395 → 91,715,560 tokens. Every kept row is identical to main except the text and token_count of the 5 rows below.

Stripped (commit 1)

  • 23 editor's notes signed "przyp. red." inside restored author's notes in 5 rows, 19 of them in Stendhal's "O miłości" (wolne_lektury_2377379). 4,792 characters of note text; the 5 documents lose 4,819 characters with the separators, 1,942 tokens. None is in the main text.
  • strip_glosses() in src/wolne_lektury_notes.py strips them the way it strips Wolne Lektury's glosses. Where one bracket holds a translator's note and then an editor's, only the editor's part goes. The evidence gets footnote_check.editor_notes_stripped and the 5 rows' modification_note names the editor's notes.
  • Untouched: bibliography "[red.]" / "[wyd.]" and the publishers' note "Przyp. Wydawców".

Held out of v0.2.6 (commit 3)

  • 174 public-domain rows printed in two selections made by later editors, until the books' contents are checked. From their verse lines we estimate that our rows fill about two fifths or more of each book:
    • 94 Baczyński poems from "Poezje" (PIW 1977, selected by Kazimierz Wyka; BN record 1509594): an estimated 155–197 of 314 pages.
    • 80 poems from the anthology "Z rodu Anhellich" (Wydawnictwo Dolnośląskie 1991, selected by Stanisław Stabro; BN record 1051496): an estimated 95–128 of 251 pages.
  • HELD (the 174 ids) and HELD_SELECTIONS (the two records) in src/wolne_lektury_licences.py; clean_wolne_lektury.py drops them like NOT_FREE, counted as drop_held. label_rows fails if a held row stops labelling public domain.
  • Evidence: new selections section with the held ids per selection, the BN records, page estimates and reason, and the 226 kept rows printed in later editors' selections (214 matched by BN record, 12 by print title). edition_review.reviewed.not_checked becomes print_after_1955 (1,310 → 1,136) with the finding of the check.
  • Public domain 4,557 → 4,383; the other licences are unchanged.

Card and README (commit 2, and the counts in 3)

  • The 45 sections headed "Od tłumacza" (44, in 43 documents) or "Uwagi Wydawcy" (1) are described as part of the printed source: translators' prefaces, and Hufeland's notes to Kant's "O potędze ducha".
  • edition_review.wl_editor_credits.meaning no longer says the credits name only digital-edition staff: on some rows they name the print edition's editors, e.g. Julian Krzyżanowski and Barbara Otwinowska on the 250 rows from PIW's 1976 Kochanowski, and Zbigniew Goliński on the 197 rows from his 1975 Krasicki "Bajki".
  • Empty author is explained by the scope note (author_empty_note in sources.py, read by make_docs.py), not by the generic sentence.
  • The card says what is held out and why, and that the other 226 rows printed in later editors' selections are kept as single public-domain texts, without the editors' introductions or notes.
  • README.md: the v0.2.5 table row is marked "relabelled per document on main after v0.2.5", and the "Main has changed since" list gets a wolne_lektury bullet with main's licence counts, drops and the hold.

Please look at

  • wolne_lektury.licences.tsv: the 174 rows are filtered out of the existing file, not regenerated, because the licence cache is not at hand. The other rows are unchanged.
  • 18 more rows have "wybrane" / "Wybór" in the print title but no later person is credited (e.g. Witkiewicz 1974 ×3, Sienkiewicz "Pisma wybrane" 1976 ×4, Stendhal "Dzieła wybrane" ×4). They are kept and not counted in the 226.

Not in this PR: CHANGELOG.md and artifacts/training_mix_v0_3.json (v2#80, at the freeze); the stale WL counts in artifacts/source_findings.md; the check of unmarked editorial paragraphs (v2#109). Copies of BN records are not committed.

Checks: full suite from the repo root passes on this commit on main 05c12f3: 2132 passed, 9 skipped, 138 subtests passed. Line endings are kept: sources.py and README.md CRLF, the rest LF.

🤖 Generated with Claude Code

ppuzio changed pull request status to open
ppuzio changed pull request status to merged
ppuzio deleted the refs/pr/191 ref

Sign up or log in to comment