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