PseudoProjectivity->nonproj

This commit is contained in:
Matthew Honnibal 2017-05-22 05:49:53 -05:00
parent 70a8c531cd
commit 5d59e74cf6

View File

@ -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