Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USFM preservation for paragraph and character markers #632

Merged
merged 15 commits into from
Jan 21, 2025

Conversation

isaac091
Copy link
Collaborator

@isaac091 isaac091 commented Jan 19, 2025

A few notes:

  • I expect --include-inline-elements, --preserve-usfm-markers, and any hard-coded names/lists of markers will be replaced by whatever customization system we end up implementing
  • We'll need to have a conversation about what of the ParagraphUpdateUsfmParserHandler and UsfmPreserver code should be moved to machine.py.
  • usfm_utils.py is not necessary for the rest of the code, it's just a little script I wrote for David to make it easier to find good project pair candidates for testing. It doesn't need to be merged if it's clutter.

Towards #560


This change is Reviewable

@isaac091 isaac091 requested a review from ddaspit January 19, 2025 04:50
@isaac091 isaac091 self-assigned this Jan 19, 2025
Copy link
Collaborator

@ddaspit ddaspit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is excellent work (uses existing shared code where possible, sticks to the conventions of the codebase, uses proper typing for clarity).

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @isaac091)

@isaac091 isaac091 merged commit b13f80c into master Jan 21, 2025
1 check passed
@isaac091 isaac091 deleted the usfm_post_processing branch January 21, 2025 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants