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

OPT20034: Modify Commentary Docx Parser #132

Closed
4 tasks done
tenzin3 opened this issue Jan 27, 2025 · 0 comments
Closed
4 tasks done

OPT20034: Modify Commentary Docx Parser #132

tenzin3 opened this issue Jan 27, 2025 · 0 comments
Assignees

Comments

@tenzin3
Copy link
Contributor

tenzin3 commented Jan 27, 2025

Description

Modification needed on Commentary parser.

Image

The commentary segment will be aligned to Root text based on the numbered list.But if text starts with a number after the number list, the number (32 in the case of picture above) would be taken as root alignment number.

The number following the numbered list can have combination of comma, hyphen as in older commentary parser.

Expected Output

Able to parse the new format of Commentary data properly.

Implementation Steps

  • modify the numbered list logic.
  • take root Pecha info from the catalog rather than argument
  • make parser static.

Reviewer

@tenzin3 tenzin3 self-assigned this Jan 27, 2025
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

No branches or pull requests

2 participants