mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-20 00:51:58 +03:00
Fix setting name in error message
This commit is contained in:
parent
3d86539e23
commit
288f623cf2
|
@ -984,9 +984,9 @@ class Errors(metaclass=ErrorsWithCodes):
|
|||
E1055 = ("The 'replace_listener' callback expects {num_params} parameters, "
|
||||
"but only callbacks with one or three parameters are supported")
|
||||
E1056 = ("The `TextCatBOW` architecture expects a length of at least 1, was {length}.")
|
||||
E1057 = ("The `TextCatReduce` architecture must be used with at least one reduction. "
|
||||
"Please enable one of `use_reduce_first`, `reduce_last`, `use_reduce_max` or "
|
||||
"`use_reduce_mean`.")
|
||||
E1057 = ("The `TextCatReduce` architecture must be used with at least one "
|
||||
"reduction. Please enable one of `use_reduce_first`, "
|
||||
"`use_reduce_last`, `use_reduce_max` or `use_reduce_mean`.")
|
||||
|
||||
|
||||
# Deprecated model shortcuts, only used in errors and warnings
|
||||
|
|
Loading…
Reference in New Issue
Block a user