mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Fix bug that caused deprojectivisation to run multiple times
This commit is contained in:
parent
445b81ce3f
commit
f32b52e611
|
@ -321,8 +321,7 @@ cdef class Parser:
|
|||
doc.c[j] = state.c._sent[j]
|
||||
self.moves.finalize_doc(doc)
|
||||
for hook in self.postprocesses:
|
||||
for doc in docs:
|
||||
hook(doc)
|
||||
hook(doc)
|
||||
for beam in beams:
|
||||
_beam_utils.cleanup_beam(beam)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user