edu.stanford.nlp.trees
Class DependencyScoring
java.lang.Object
edu.stanford.nlp.trees.DependencyScoring
public class DependencyScoring
- extends Object
Scoring of typed dependencies
- Author:
- danielcer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
goldDeps
public final List<Set<TypedDependency>> goldDeps
goldDepsUnlabeled
public final List<Set<TypedDependency>> goldDepsUnlabeled
DependencyScoring
public DependencyScoring(List<Collection<TypedDependency>> goldDeps)
DependencyScoring
public DependencyScoring(String filename)
throws IOException
- Throws:
IOException
readDeps
protected static List<Collection<TypedDependency>> readDeps(String filename)
throws IOException
- Read in typed dependencies. Warning created typed dependencies are not
backed by any sort of a tree structure.
- Parameters:
filename
-
- Returns:
-
- Throws:
IOException
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
Stanford NLP Group