diff --git a/spacy/lang/th/__init__.py b/spacy/lang/th/__init__.py index 4b52cfa25..368fb9ae5 100644 --- a/spacy/lang/th/__init__.py +++ b/spacy/lang/th/__init__.py @@ -12,7 +12,6 @@ from ...language import Language from ...attrs import LANG, NORM from ...util import update_exc, add_lookups - class ThaiDefaults(Language.Defaults): lex_attr_getters = dict(Language.Defaults.lex_attr_getters) lex_attr_getters[LANG] = lambda text: 'th'