From 3c44b5dc1a0b3a143493e9a08cae94060a764da8 Mon Sep 17 00:00:00 2001 From: Wolfgang Seeker Date: Thu, 5 May 2016 15:10:36 +0200 Subject: [PATCH] call deprojectivization after parsing --- spacy/syntax/arc_eager.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/syntax/arc_eager.pyx b/spacy/syntax/arc_eager.pyx index bb4738a30..4e2590734 100644 --- a/spacy/syntax/arc_eager.pyx +++ b/spacy/syntax/arc_eager.pyx @@ -387,7 +387,7 @@ cdef class ArcEager(TransitionSystem): def finalize_doc(self, doc): doc.is_parsed = True if doc.vocab.lang == 'de': - PseudoProjectivity.projectivize(doc) + PseudoProjectivity.deprojectivize(doc) cdef int set_valid(self, int* output, const StateC* st) nogil: cdef bint[N_MOVES] is_valid