From 73e904756ec544e1dfd3a0ee0847f2df474d50b7 Mon Sep 17 00:00:00 2001 From: Daniel Ecer Date: Fri, 26 Jun 2026 13:56:02 +0100 Subject: [PATCH 01/12] Expand JATS reference splitting to whole-line level Two improvements to JATS-guided training data generation for the reference-segmenter and citation models: 1. Line-level gap fill in _split_references_by_jats_instance: unlabeled lines (e.g. DOI continuation lines that the aligner didn't match) inherit the preceding line's REFERENCE instance_id rather than being silently dropped. Restores DOI continuation text that was absent from citation training data. 2. Whole-line expansion in ReferenceSegmenterModelTrainingDataGenerator .get_jats_label_fn: if any token on a PDF line is labeled REFERENCE, all tokens on that line receive the same /