From ae11ea8240db7c015b940c89f23ac063a6ababdf Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 17 Oct 2016 02:42:05 +0200 Subject: [PATCH] Add getters_for_tokens and getters_for_spans attributes to Doc object. --- spacy/tokens/doc.pxd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spacy/tokens/doc.pxd b/spacy/tokens/doc.pxd index 66c2b9970..307f635ca 100644 --- a/spacy/tokens/doc.pxd +++ b/spacy/tokens/doc.pxd @@ -39,6 +39,9 @@ cdef class Doc: cdef public bint is_tagged cdef public bint is_parsed + cdef public dict getters_for_tokens + cdef public dict getters_for_spans + cdef public list _py_tokens cdef int length