mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
Fix pseudoprojectivity->nonproj
This commit is contained in:
parent
ae8cf70dc1
commit
f00f821496
|
@ -113,7 +113,6 @@ def projectivize(heads, labels):
|
|||
return proj_heads, deco_labels
|
||||
|
||||
|
||||
@classmethod
|
||||
def deprojectivize(tokens):
|
||||
# reattach arcs with decorated labels (following HEAD scheme)
|
||||
# for each decorated arc X||Y, search top-down, left-to-right,
|
||||
|
|
Loading…
Reference in New Issue
Block a user