Add getters_for_tokens and getters_for_spans attributes to Doc object.

This commit is contained in:
Matthew Honnibal 2016-10-17 02:42:05 +02:00
parent 5bc101006e
commit ae11ea8240

View File

@ -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