From 48177c4f922b03938c0fa8a7e7becb50e706eee9 Mon Sep 17 00:00:00 2001 From: ines Date: Fri, 12 May 2017 09:25:24 +0200 Subject: [PATCH] Add missing tokenizer exceptions --- spacy/lang/da/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/lang/da/__init__.py b/spacy/lang/da/__init__.py index 19752cad5..9efe21fb5 100644 --- a/spacy/lang/da/__init__.py +++ b/spacy/lang/da/__init__.py @@ -17,7 +17,7 @@ class Danish(Language): lex_attr_getters = dict(Language.Defaults.lex_attr_getters) lex_attr_getters[LANG] = lambda text: 'da' - tokenizer_exceptions = update_exc(BASE_EXCEPTIONS) + tokenizer_exceptions = update_exc(BASE_EXCEPTIONS, TOKENIZER_EXCEPTIONS) stop_words = set(STOP_WORDS)