Add comment

This commit is contained in:
Matthew Honnibal 2017-03-31 13:59:19 +02:00
parent 725249c59a
commit 1bb7b4ca71

View File

@ -257,6 +257,7 @@ cdef class Parser:
cdef int parseC(self, TokenC* tokens, int length, int nr_feat) nogil:
state = new StateC(tokens, length)
# NB: This can change self.moves.n_moves!
# I think this causes memory errors if called by .pipe()
self.moves.initialize_state(state)
nr_class = self.moves.n_moves