Repository navigation
fix(harvest): keep text inside formatting templates - #95
Merged
Merged
Conversation
The transcript cleaning stripped every template whole. A centred heading, a signature set to the right, a spaced-out name, a drop capital and, in the encyclopedia, headwords and bibliography authors went with their wrappers: 1,382 words on 480 pages sampled across every harvest, and 181 on the evaluation pages (brief 023). Ten templates that only format printed text now leave their text behind. Those that render as a block take a line of their own, since transcribers write them hard against the next word. Abovyan's four volumes join PRINTED_ANGLE_BRACKETS. The edition's own editorial principles put the editors' additions in angle brackets, and the fold had turned them into guillemets, in one line into a bracket paired with a guillemet. TRANSCRIPT_CLEANING is 4: text saved by cleaning 3 has lost both for good, so every harvest needs --refresh-stale before the next crop harvest. Co-authored-by: Yvette Mankerian <yvettekm@gmail.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The transcript cleaning stripped every template whole, text included. Two faults came from that, both found while checking Abovyan's evaluation pages (brief 023).
Formatting templates carry print. A centred heading, a signature set to the right, a spaced-out name, a drop capital and, in the encyclopedia, headwords and bibliography authors all left with their wrappers.
Ten templates that only format printed text now leave their text behind (
_TEXT_TEMPLATES). Each was seen carrying print in the sample. Line numbers, rules and everything unfamiliar are still stripped. Templates that render as a block (centred, right-set, the encyclopedia's author signature) take a line of their own, because transcribers write them hard against the next word and unwrapping in place would weld two words into one.Abovyan's angle brackets are print. The four volumes join
PRINTED_ANGLE_BRACKETS. The edition says so in its own editorial principles (volume 2, page 7, rule 9), and scans of volume 1 page 45 and volume 6 page 123 show it. Folded, page 45 readսիրե«լւոյ»and, on one line, a bracket paired with a guillemet.Consequences
TRANSCRIPT_CLEANINGis 4. Text saved by cleaning 3 has lost both for good, so every harvest needs--refresh-stalebefore the next crop harvest, which refuses stale pages.Checks
🤖 Generated with Claude Code