From 22bd0095f506d8828b00814911803e95a957ac93 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 10 Oct 2015 22:10:19 +1100 Subject: [PATCH] * Map empty string to NULL_ATTR in attrs --- spacy/attrs.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/attrs.pyx b/spacy/attrs.pyx index 8d76160f4..3595fbf22 100644 --- a/spacy/attrs.pyx +++ b/spacy/attrs.pyx @@ -1,5 +1,5 @@ IDS = { - "NULL_ATTR": NULL_ATTR, + "": NULL_ATTR, "IS_ALPHA": IS_ALPHA, "IS_ASCII": IS_ASCII, "IS_DIGIT": IS_DIGIT,