Update errors.py

This commit is contained in:
Ines Montani 2020-02-28 12:23:31 +01:00
parent 37691e6d5d
commit 7efaa76168

View File

@ -86,9 +86,8 @@ class Warnings(object):
"lemmatization rules or data. This means that the trained model " "lemmatization rules or data. This means that the trained model "
"may not be able to lemmatize correctly. If this is intentional " "may not be able to lemmatize correctly. If this is intentional "
"or the language you're using doesn't have lemmatization data, " "or the language you're using doesn't have lemmatization data, "
"you can ignore this warning by setting SPACY_WARNING_IGNORE=W022. " "you can ignore this warning. If this is surprising, make sure you "
"If this is surprising, make sure you have the spacy-lookups-data " "have the spacy-lookups-data package installed.")
"package installed.")
W024 = ("Entity '{entity}' - Alias '{alias}' combination already exists in " W024 = ("Entity '{entity}' - Alias '{alias}' combination already exists in "
"the Knowledge Base.") "the Knowledge Base.")
W025 = ("'{name}' requires '{attr}' to be assigned, but none of the " W025 = ("'{name}' requires '{attr}' to be assigned, but none of the "