From 72b8df0684c9c8f328cc6a77ab2bb84f0a7d2514 Mon Sep 17 00:00:00 2001 From: Wolfgang Seeker Date: Thu, 3 Mar 2016 19:05:08 +0100 Subject: [PATCH] turned PseudoProjectivity into a normal python class --- spacy/syntax/nonproj.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/syntax/nonproj.pyx b/spacy/syntax/nonproj.pyx index dbc5555c3..91afc2347 100644 --- a/spacy/syntax/nonproj.pyx +++ b/spacy/syntax/nonproj.pyx @@ -59,7 +59,7 @@ def is_nonproj_tree(heads): return any( is_nonproj_arc(word,heads) for word in range(len(heads)) ) -cdef class PseudoProjectivity: +class PseudoProjectivity: # implements the projectivize/deprojectivize mechanism in Nivre & Nilsson 2005 # for doing pseudo-projective parsing # implementation uses the HEAD decoration scheme