spaCy/spacy/lang/isl/__init__.py
Edward 360ccf628a
Rename language codes (Icelandic, multi-language) (#12149)
* Init

* fix tests

* Update spacy/errors.py

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>

* Fix test_blank_languages

* Rename xx to mul in docs

* Format _util with black

* prettier formatting

---------

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2023-01-31 17:30:43 +01:00

15 lines
256 B
Python

from .stop_words import STOP_WORDS
from ...language import Language, BaseDefaults
class IcelandicDefaults(BaseDefaults):
stop_words = STOP_WORDS
class Icelandic(Language):
lang = "isl"
Defaults = IcelandicDefaults
__all__ = ["Icelandic"]