mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-17 19:52:18 +03:00
Update error number
This was changed by merge
This commit is contained in:
parent
7792229fa9
commit
0f3c45646b
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user