mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
17 lines
308 B
Python
17 lines
308 B
Python
from .stop_words import STOP_WORDS
|
|
from .lex_attrs import LEX_ATTRS
|
|
from ...language import Language
|
|
|
|
|
|
class SanskritDefaults(Language.Defaults):
|
|
lex_attr_getters = LEX_ATTRS
|
|
stop_words = STOP_WORDS
|
|
|
|
|
|
class Sanskrit(Language):
|
|
lang = "sa"
|
|
Defaults = SanskritDefaults
|
|
|
|
|
|
__all__ = ["Sanskrit"]
|