mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-29 11:26:28 +03:00
5ca0dbae76
* Add support basic support for lower sorbian. * Add some test for dsb. * Update spacy/lang/dsb/examples.py Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
17 lines
334 B
Python
17 lines
334 B
Python
from .lex_attrs import LEX_ATTRS
|
|
from .stop_words import STOP_WORDS
|
|
from ...language import Language, BaseDefaults
|
|
|
|
|
|
class LowerSorbianDefaults(BaseDefaults):
|
|
lex_attr_getters = LEX_ATTRS
|
|
stop_words = STOP_WORDS
|
|
|
|
|
|
class LowerSorbian(Language):
|
|
lang = "dsb"
|
|
Defaults = LowerSorbianDefaults
|
|
|
|
|
|
__all__ = ["LowerSorbian"]
|