* Refactor, move Lexeme struct to structs.pxd

This commit is contained in:
Matthew Honnibal 2014-12-20 06:51:03 +11:00
parent 7d48bba6c4
commit f6556d8e5d

View File

@ -1,6 +1,6 @@
from .typedefs cimport hash_t, flags_t, id_t, len_t, tag_t, attr_t
from .utf8string cimport StringStore
from .structs cimport Lexeme
from .strings cimport StringStore
# Reserve 64 values for flag features
@ -83,24 +83,6 @@ cpdef enum attr_id_t:
LEMMA
cdef struct Lexeme:
flags_t flags
attr_t id
attr_t sic
attr_t dense
attr_t shape
attr_t prefix
attr_t suffix
attr_t length
attr_t cluster
attr_t pos_type
float prob
float sentiment
cdef Lexeme EMPTY_LEXEME