mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +03:00
16 lines
316 B
Python
16 lines
316 B
Python
from .stop_words import STOP_WORDS
|
|
from ...language import Language
|
|
|
|
|
|
class HebrewDefaults(Language.Defaults):
|
|
stop_words = STOP_WORDS
|
|
writing_system = {"direction": "rtl", "has_case": False, "has_letters": True}
|
|
|
|
|
|
class Hebrew(Language):
|
|
lang = "he"
|
|
Defaults = HebrewDefaults
|
|
|
|
|
|
__all__ = ["Hebrew"]
|