mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 20:30:24 +03:00
reinstate E970
This commit is contained in:
parent
0ccfb31955
commit
adf8b4a88b
|
@ -826,6 +826,7 @@ class Errors(metaclass=ErrorsWithCodes):
|
|||
"assign it a name, e.g. `@Language.component('your_name')`. You can "
|
||||
"then run `nlp.replace_pipe('{name}', 'your_name')`.")
|
||||
E969 = ("Expected string values for field '{field}', but received {types} instead. ")
|
||||
E970 = ("Can not execute command '{str_command}'. Do you have '{tool}' installed?")
|
||||
E971 = ("Found incompatible lengths in `Doc.from_array`: {array_length} for the "
|
||||
"array and {doc_length} for the Doc itself.")
|
||||
E972 = ("`Example.__init__` got None for '{arg}'. Requires Doc.")
|
||||
|
|
Loading…
Reference in New Issue
Block a user