call deprojectivization after parsing

This commit is contained in:
Wolfgang Seeker 2016-05-05 15:10:36 +02:00
parent 472f576b82
commit 3c44b5dc1a
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ cdef class ArcEager(TransitionSystem):
def finalize_doc(self, doc): def finalize_doc(self, doc):
doc.is_parsed = True doc.is_parsed = True
if doc.vocab.lang == 'de': if doc.vocab.lang == 'de':
PseudoProjectivity.projectivize(doc) PseudoProjectivity.deprojectivize(doc)
cdef int set_valid(self, int* output, const StateC* st) nogil: cdef int set_valid(self, int* output, const StateC* st) nogil:
cdef bint[N_MOVES] is_valid cdef bint[N_MOVES] is_valid