Update format spacy/errors.py

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
Edward 2022-11-23 16:26:36 +01:00 committed by GitHub
parent c5abf918f4
commit fade54fe95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -963,11 +963,11 @@ OLD_MODEL_SHORTCUTS = {
"nl": "nl_core_news_sm", "el": "el_core_news_sm", "nb": "nb_core_news_sm", "nl": "nl_core_news_sm", "el": "el_core_news_sm", "nb": "nb_core_news_sm",
"lt": "lt_core_news_sm", "xx": "xx_ent_wiki_sm" "lt": "lt_core_news_sm", "xx": "xx_ent_wiki_sm"
} }
# fmt: on
# Renamed language codes in v4 # Renamed language codes in v4
RENAMED_LANGUAGE_CODES = {"xx":"mul", "is":"isl"} RENAMED_LANGUAGE_CODES = {"xx": "mul", "is": "isl"}
# fmt: on
class MatchPatternError(ValueError): class MatchPatternError(ValueError):