mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 12:50:20 +03:00
Update format spacy/errors.py
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
parent
c5abf918f4
commit
fade54fe95
|
@ -963,11 +963,11 @@ OLD_MODEL_SHORTCUTS = {
|
|||
"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"
|
||||
}
|
||||
# fmt: on
|
||||
|
||||
# Renamed language codes in v4
|
||||
RENAMED_LANGUAGE_CODES = {"xx": "mul", "is": "isl"}
|
||||
|
||||
# fmt: on
|
||||
|
||||
|
||||
class MatchPatternError(ValueError):
|
||||
|
|
Loading…
Reference in New Issue
Block a user