edu.stanford.nlp.trees
Class Dependencies
java.lang.Object
edu.stanford.nlp.trees.Dependencies
public class Dependencies
- extends Object
Utilities for Dependency objects.
- Author:
- Christopher Manning
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dependencyIndexComparator
public static Comparator<Dependency> dependencyIndexComparator()
- A Comparator for Dependencies based on their dependent annotation.
It will only work if the Labels at the ends of Dependencies have
an index().
- Returns:
- A Comparator for Dependencies
Stanford NLP Group