mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 16:22:29 +03:00
new error for ensuring reference and predicted texts are the same
This commit is contained in:
parent
d5da2df4c9
commit
b7ce3ab42f
|
@ -972,7 +972,7 @@ class Errors(metaclass=ErrorsWithCodes):
|
||||||
E1051 = ("'allow_overlap' can only be False when max_positive is 1, but found 'max_positive': {max_positive}.")
|
E1051 = ("'allow_overlap' can only be False when max_positive is 1, but found 'max_positive': {max_positive}.")
|
||||||
E1052 = ("Both 'min_length' and 'max_length' should be larger than 1, but found"
|
E1052 = ("Both 'min_length' and 'max_length' should be larger than 1, but found"
|
||||||
" 'min_length': {min_length}, 'max_length': {max_length}")
|
" 'min_length': {min_length}, 'max_length': {max_length}")
|
||||||
E1053 = ("Text, including whitespace, must match between reference and "
|
E1053 = ("The text, including whitespace, must match between reference and "
|
||||||
"predicted docs when training {component}.")
|
"predicted docs when training {component}.")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user