From 530d812aed14b474c52993e9fa76b8465e23ffd2 Mon Sep 17 00:00:00 2001 From: kadarakos Date: Mon, 8 May 2023 13:20:49 +0000 Subject: [PATCH] remove todo --- spacy/pipeline/span_finder.py | 1 - 1 file changed, 1 deletion(-) 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: