From aeb752013314e5bdaa8c3b72a34edd7ecd2785d4 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 3 Jun 2017 14:47:38 -0500 Subject: [PATCH] Make norm use lower-case --- spacy/lang/lex_attrs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/lang/lex_attrs.py b/spacy/lang/lex_attrs.py index e6378a5a4..4c3284b1e 100644 --- a/spacy/lang/lex_attrs.py +++ b/spacy/lang/lex_attrs.py @@ -125,7 +125,7 @@ def word_shape(text): LEX_ATTRS = { attrs.LOWER: lambda string: string.lower(), - attrs.NORM: lambda string: string, + attrs.NORM: lambda string: string.lower(), attrs.PREFIX: lambda string: string[0], attrs.SUFFIX: lambda string: string[-3:], attrs.CLUSTER: lambda string: 0,