mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Add comment
This commit is contained in:
parent
725249c59a
commit
1bb7b4ca71
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user