From 09b5f61e7d736de7224fcb4d505a5b046a957e9b Mon Sep 17 00:00:00 2001 From: kadarakos Date: Thu, 1 Jun 2023 12:20:45 +0000 Subject: [PATCH] remove comment --- 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 c8129b9af..ccaa3a3a3 100644 --- a/spacy/pipeline/span_finder.py +++ b/spacy/pipeline/span_finder.py @@ -143,7 +143,6 @@ class SpanFinder(TrainablePipe): threshold: float = 0.5, max_length: Optional[int] = None, min_length: Optional[int] = None, - # XXX I think this is weird and should be just None like in scorer: Optional[Callable] = span_finder_score, spans_key: str = DEFAULT_SPANS_KEY, ) -> None: