From de3954843eb49db33eaa23d1524bf0f544ac24d1 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 3 Jun 2017 14:47:12 -0500 Subject: [PATCH] Populate norm exceptions with lower-case --- spacy/lang/en/norm_exceptions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/lang/en/norm_exceptions.py b/spacy/lang/en/norm_exceptions.py index c5f7baad5..49c8ef6ab 100644 --- a/spacy/lang/en/norm_exceptions.py +++ b/spacy/lang/en/norm_exceptions.py @@ -1757,4 +1757,5 @@ _exc = { NORM_EXCEPTIONS = {} for string, norm in _exc.items(): + NORM_EXCEPTIONS[string] = norm NORM_EXCEPTIONS[string.title()] = norm