From ee4f312e89fe262a682011da3a7881bfbf47fcdf Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Mon, 11 Mar 2019 14:22:23 +0100 Subject: [PATCH] Add writing_system to ArabicDefaults (experimental) --- spacy/lang/ar/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/lang/ar/__init__.py b/spacy/lang/ar/__init__.py index c6ff071cf..c120703f6 100644 --- a/spacy/lang/ar/__init__.py +++ b/spacy/lang/ar/__init__.py @@ -23,6 +23,7 @@ class ArabicDefaults(Language.Defaults): tokenizer_exceptions = update_exc(BASE_EXCEPTIONS, TOKENIZER_EXCEPTIONS) stop_words = STOP_WORDS suffixes = TOKENIZER_SUFFIXES + writing_system = {"direction": "rtl", "has_case": False, "has_letters": True} class Arabic(Language):