diff --git a/spacy/errors.py b/spacy/errors.py index 3fa076609..5c9f41b7e 100644 --- a/spacy/errors.py +++ b/spacy/errors.py @@ -970,6 +970,7 @@ class Errors(metaclass=ErrorsWithCodes): "{existing_value}.") E4008 = ("Span {pos}_char {value} does not correspond to a token {pos}.") + RENAMED_LANGUAGE_CODES = {"xx": "mul", "is": "isl"} # fmt: on