Update error number

This was changed by merge
This commit is contained in:
Paul O'Leary McCann 2022-07-11 20:14:36 +09:00
parent 7792229fa9
commit 0f3c45646b

View File

@ -289,7 +289,7 @@ class CoreferenceResolver(TrainablePipe):
span = example.predicted.char_span(start_char, end_char)
if span is None:
# TODO log more details
raise IndexError(Errors.E1043)
raise IndexError(Errors.E1044)
cc.append((span.start, span.end))
clusters.append(cc)