mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
Fix typo and deprecation message (resolves #3195) [ci skip]
This commit is contained in:
parent
8ad15a2377
commit
f4ce7bb7e9
|
@ -286,7 +286,7 @@ class Errors(object):
|
||||||
"setting don't overlap.")
|
"setting don't overlap.")
|
||||||
E104 = ("Can't find JSON schema for '{name}'.")
|
E104 = ("Can't find JSON schema for '{name}'.")
|
||||||
E105 = ("The Doc.print_tree() method is now deprecated. Please use "
|
E105 = ("The Doc.print_tree() method is now deprecated. Please use "
|
||||||
"Doc.json() instead.")
|
"Doc.to_json() instead or write your own function.")
|
||||||
E106 = ("Can't find doc._.{attr} attribute specified in the underscore "
|
E106 = ("Can't find doc._.{attr} attribute specified in the underscore "
|
||||||
"settings: {opts}")
|
"settings: {opts}")
|
||||||
E107 = ("Value of doc._.{attr} is not JSON-serializable: {value}")
|
E107 = ("Value of doc._.{attr} is not JSON-serializable: {value}")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user