mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
* Don't release the gil around Parser.parse. Does this indicate thread problems?
This commit is contained in:
parent
a6ff7e6ca4
commit
fb0a641a2d
|
@ -85,7 +85,6 @@ cdef class Parser:
|
|||
|
||||
cdef Example eg = Example(self.model.n_classes, CONTEXT_SIZE,
|
||||
self.model.n_feats, self.model.n_feats)
|
||||
with nogil:
|
||||
self.parse(stcls, eg.c)
|
||||
tokens.set_parse(stcls._sent)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user