mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-09 15:52:31 +03:00
remove todo
This commit is contained in:
parent
b7ce3ab42f
commit
530d812aed
|
@ -290,7 +290,6 @@ class SpanFinder(TrainablePipe):
|
||||||
def _get_aligned_truth_scores(self, examples) -> List[Tuple[int, int]]:
|
def _get_aligned_truth_scores(self, examples) -> List[Tuple[int, int]]:
|
||||||
"""Align scores of the predictions to the references for calculating the loss"""
|
"""Align scores of the predictions to the references for calculating the loss"""
|
||||||
# TODO: handle misaligned (None) alignments
|
# TODO: handle misaligned (None) alignments
|
||||||
# TODO: handle cases with differing whitespace in texts
|
|
||||||
reference_truths = []
|
reference_truths = []
|
||||||
|
|
||||||
for eg in examples:
|
for eg in examples:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user