-
Notifications
You must be signed in to change notification settings - Fork 109
feat: Configurable output for doctags #447
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
base: main
Are you sure you want to change the base?
Conversation
|
✅ DCO Check Passed Thanks @nassarofficial, all your commits are properly signed off. 🎉 |
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Require two reviewer for test updatesThis rule is failing.When test data is updated, we require two reviewers
🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
c783095 to
d5cf6d8
Compare
Signed-off-by: Ahmed Nassar <ahn@zurich.ibm.com>
d5cf6d8 to
b8c1654
Compare
| return delim | ||
|
|
||
|
|
||
| def create_task_filtered_params(task_list: list[str], **kwargs) -> DocTagsParams: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This preprocessing code best belongs to where these task type values "ocr", "layout" etc are governed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File to be removed.
Enables toggling document element types (OCR text, tables, pictures, charts, code, formulas) via include_* flags in DocTagsParams. Serializers filter elements based on these flags, allowing selective export by task type.