From a6d040bd1197d6553b87b852c7480a4db305e02b Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 16 Jul 2015 11:20:08 +0200 Subject: [PATCH] * Import Lexeme attrs from spacy.attrs, not spacy.typedefs --- spacy/lexeme.pxd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spacy/lexeme.pxd b/spacy/lexeme.pxd index 51bc7451b..2c4e55d68 100644 --- a/spacy/lexeme.pxd +++ b/spacy/lexeme.pxd @@ -1,7 +1,6 @@ -from .typedefs cimport hash_t, flags_t, id_t, len_t, tag_t, attr_t -from .typedefs cimport ID, ORTH, LOWER, NORM, SHAPE, PREFIX, SUFFIX, LENGTH, CLUSTER - +from .typedefs cimport attr_t, hash_t, flags_t, id_t, len_t, tag_t from .attrs cimport attr_id_t +from .attrs cimport ID, ORTH, LOWER, NORM, SHAPE, PREFIX, SUFFIX, LENGTH, CLUSTER from .structs cimport LexemeC from .strings cimport StringStore