mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-11 17:56:30 +03:00
PseudoProjectivity->nonproj
This commit is contained in:
parent
70a8c531cd
commit
5d59e74cf6
|
@ -97,7 +97,6 @@ def preprocess_training_data(gold_tuples, label_freq_cutoff=30):
|
|||
return preprocessed
|
||||
|
||||
|
||||
@classmethod
|
||||
def projectivize(heads, labels):
|
||||
# use the algorithm by Nivre & Nilsson 2005
|
||||
# assumes heads to be a proper tree, i.e. connected and cycle-free
|
||||
|
|
Loading…
Reference in New Issue
Block a user