Evaluation
DependencyTrees.labeled_accuracy
— Functionlabeled_accuracy(prediction, gold)
Accuracy score for dependency arcs, including the labels.
DependencyTrees.unlabeled_accuracy
— Functionunlabeled_accuracy(prediction, gold)
Accuracy score for dependency arcs, not including the labels.