diff --git a/spacy/pipeline/span_finder.py b/spacy/pipeline/span_finder.py index 258781be0..af4eab636 100644 --- a/spacy/pipeline/span_finder.py +++ b/spacy/pipeline/span_finder.py @@ -290,7 +290,6 @@ class SpanFinder(TrainablePipe): def _get_aligned_truth_scores(self, examples) -> List[Tuple[int, int]]: """Align scores of the predictions to the references for calculating the loss""" # TODO: handle misaligned (None) alignments - # TODO: handle cases with differing whitespace in texts reference_truths = [] for eg in examples: