From 8ff5b8bd8420860d6db2ce0753bab7ccdeb10a3a Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 17 Jan 2015 17:33:16 +1100 Subject: [PATCH] * Add attribute for POS scheme --- spacy/tokens.pxd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spacy/tokens.pxd b/spacy/tokens.pxd index d13aea7cc..1dba9234d 100644 --- a/spacy/tokens.pxd +++ b/spacy/tokens.pxd @@ -30,6 +30,7 @@ cdef class Tokens: cdef Pool mem cdef Vocab vocab cdef list tag_names + cdef dict pos_scheme cdef TokenC* data @@ -59,5 +60,5 @@ cdef class Token: cdef readonly attr_t flags cdef readonly attr_t lemma cdef readonly univ_tag_t pos - cdef readonly attr_t fine_pos - cdef readonly attr_t dep_tag + cdef readonly attr_t tag + cdef readonly attr_t dep