Skip to content

Conversation

@vladd-bit
Copy link
Member

PR: Fix entity span alignment when injecting relation tags and added original entity char positions to inference output.

Fixes incorrect entity character spans produced during relation-window construction for SpaCy / MedCAT export inputs and adds character position output to relation inferencing.

@vladd-bit vladd-bit requested a review from mart-r January 20, 2026 10:18
Copy link
Collaborator

@mart-r mart-r left a comment

Choose a reason for hiding this comment

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

Looks good to me

@vladd-bit vladd-bit merged commit 4656075 into main Jan 20, 2026
17 checks passed
@vladd-bit vladd-bit deleted the rel_cat_infer_fix branch January 20, 2026 10:42
mart-r pushed a commit that referenced this pull request Jan 20, 2026
#297)

* MedCAT v1: fixed relation infer output (entities not outputting start/end char positions.

* Lints.
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