diff --git a/spacy/lang/ky/__init__.py b/spacy/lang/ky/__init__.py index 3655e6264..4656cfeb9 100644 --- a/spacy/lang/ky/__init__.py +++ b/spacy/lang/ky/__init__.py @@ -11,9 +11,9 @@ from ...language import Language from ...util import update_exc -class TatarDefaults(Language.Defaults): +class KyrgyzDefaults(Language.Defaults): lex_attr_getters = dict(Language.Defaults.lex_attr_getters) - lex_attr_getters[LANG] = lambda text: "tt" + lex_attr_getters[LANG] = lambda text: "ky" lex_attr_getters.update(LEX_ATTRS) @@ -23,9 +23,9 @@ class TatarDefaults(Language.Defaults): stop_words = STOP_WORDS -class Tatar(Language): - lang = "tt" - Defaults = TatarDefaults +class Kyrgyz(Language): + lang = "ky" + Defaults = KyrgyzDefaults -__all__ = ["Tatar"] +__all__ = ["Kyrgyz"]