mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46: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:
|
cdef int parseC(self, TokenC* tokens, int length, int nr_feat) nogil:
|
||||||
state = new StateC(tokens, length)
|
state = new StateC(tokens, length)
|
||||||
# NB: This can change self.moves.n_moves!
|
# NB: This can change self.moves.n_moves!
|
||||||
|
# I think this causes memory errors if called by .pipe()
|
||||||
self.moves.initialize_state(state)
|
self.moves.initialize_state(state)
|
||||||
nr_class = self.moves.n_moves
|
nr_class = self.moves.n_moves
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user