From 1436b9f15a5cd9ba1576281636ef528e1de763c3 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 23 Dec 2016 21:35:11 +0100 Subject: [PATCH] Fix formatting and consistency --- spacy/es/language_data.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spacy/es/language_data.py b/spacy/es/language_data.py index cae7d69c9..3357c9ac8 100644 --- a/spacy/es/language_data.py +++ b/spacy/es/language_data.py @@ -41,12 +41,10 @@ def get_time_exc(hours): TOKENIZER_EXCEPTIONS = dict(TOKENIZER_EXCEPTIONS) -update_exc(TOKENIZER_EXCEPTIONS, get_time_exc(range(1, 12 + 1))) STOP_WORDS = set(STOP_WORDS) - update_exc(TOKENIZER_EXCEPTIONS, strings_to_exc(ORTH_ONLY)) +update_exc(TOKENIZER_EXCEPTIONS, get_time_exc(range(1, 12 + 1))) update_exc(TOKENIZER_EXCEPTIONS, strings_to_exc(base.EMOTICONS)) - __all__ = ["TOKENIZER_EXCEPTIONS", "STOP_WORDS"]