mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-06 07:16:29 +03:00
acbf2a428f
* Add Kurdish Kurmanji language * Add lex_attrs
16 lines
317 B
Python
16 lines
317 B
Python
from .lex_attrs import LEX_ATTRS
|
|
from ...language import BaseDefaults, Language
|
|
from .stop_words import STOP_WORDS
|
|
|
|
|
|
class KurmanjiDefaults(BaseDefaults):
|
|
stop_words = STOP_WORDS
|
|
lex_attr_getters = LEX_ATTRS
|
|
|
|
|
|
class Kurmanji(Language):
|
|
lang = "kmr"
|
|
Defaults = KurmanjiDefaults
|
|
|
|
__all__ = ["Kurmanji"]
|