Allow weakrefs on Doc objects

This commit is contained in:
Matthew Honnibal 2017-10-16 19:22:11 +02:00
parent 010a7309ff
commit 59c216196c

View File

@ -54,6 +54,8 @@ cdef class Doc:
cdef public object noun_chunks_iterator
cdef object __weakref__
cdef int push_back(self, LexemeOrToken lex_or_tok, bint has_space) except -1
cpdef np.ndarray to_array(self, object features)