Skip to content

feat: Add HANDWRITTEN_TEXT label support#561

Merged
vagenas merged 4 commits intodocling-project:mainfrom
vittoriopippi:fix/handwritten-text-label
Mar 26, 2026
Merged

feat: Add HANDWRITTEN_TEXT label support#561
vagenas merged 4 commits intodocling-project:mainfrom
vittoriopippi:fix/handwritten-text-label

Conversation

@vittoriopippi
Copy link
Copy Markdown
Contributor

Add full integration for the HANDWRITTEN_TEXT document item label.

Changes:

  • tokens.py: Add HANDWRITTEN_TEXT to DocumentToken enum and mapping
  • document.py: Add HANDWRITTEN_TEXT to DEFAULT_EXPORT_LABELS
  • document.py: Add HANDWRITTEN_TEXT to TextItem label Literal type

Also adds test/test_handwritten_text_label.py for integration tests.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 20, 2026

DCO Check Passed

Thanks @vittoriopippi, all your commits are properly signed off. 🎉

@mergify
Copy link
Copy Markdown

mergify bot commented Mar 20, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

🟢 Require two reviewer for test updates

Wonderful, this rule succeeded.

When test data is updated, we require two reviewers

  • #approved-reviews-by >= 2

Vittorio Pippi and others added 3 commits March 25, 2026 15:44
Add full integration for the HANDWRITTEN_TEXT document item label.

Changes:
- tokens.py: Add HANDWRITTEN_TEXT to DocumentToken enum and mapping
- document.py: Add HANDWRITTEN_TEXT to DEFAULT_EXPORT_LABELS

Also adds test/test_handwritten_text_label.py for integration tests.
I, Vittorio Pippi <vpi@wila.zurich.ibm.com>, hereby add my Signed-off-by to this commit: acbdfa3

Signed-off-by: Vittorio Pippi <vpi@wila.zurich.ibm.com>
Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
@vagenas vagenas force-pushed the fix/handwritten-text-label branch from 2e9a46d to 336bce9 Compare March 25, 2026 15:49
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2026

Codecov Report

❌ Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
docling_core/experimental/doclang.py 85.71% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

I, Vittorio Pippi <vpi@wila.zurich.ibm.com>, hereby add my Signed-off-by to this commit: 000ccc5

Signed-off-by: Vittorio Pippi <vpi@wila.zurich.ibm.com>
@vagenas vagenas merged commit fb3b603 into docling-project:main Mar 26, 2026
11 checks passed
@vagenas vagenas mentioned this pull request Mar 26, 2026
36 tasks
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