From cb57b35bb8e944860bf6b35596d8901143fe0dfa Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 13 Oct 2018 15:37:30 +0200 Subject: [PATCH] Also include lowercase norm exceptions --- spacy/lang/de/norm_exceptions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/lang/de/norm_exceptions.py b/spacy/lang/de/norm_exceptions.py index 6116aa9be..4e2a31e35 100644 --- a/spacy/lang/de/norm_exceptions.py +++ b/spacy/lang/de/norm_exceptions.py @@ -14,4 +14,5 @@ _exc = { NORM_EXCEPTIONS = {} for string, norm in _exc.items(): + NORM_EXCEPTIONS[string] = norm NORM_EXCEPTIONS[string.title()] = norm