From ef666656b397b6ec6c5f2693c22afd5a65dea9d3 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 12 Jul 2019 17:59:47 +0200 Subject: [PATCH] Fix attrs alignment --- spacy/attrs.pxd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spacy/attrs.pxd b/spacy/attrs.pxd index c5ba8d765..d9aca078c 100644 --- a/spacy/attrs.pxd +++ b/spacy/attrs.pxd @@ -1,4 +1,6 @@ # Reserve 64 values for flag features +from . cimport symbols + cdef enum attr_id_t: NULL_ATTR IS_ALPHA @@ -82,10 +84,10 @@ cdef enum attr_id_t: DEP ENT_IOB ENT_TYPE - ENT_KB_ID HEAD SENT_START SPACY PROB LANG + ENT_KB_ID = symbols.ENT_KB_ID