edu.stanford.nlp.trees
Class DependencyScoring

java.lang.Object
  extended by edu.stanford.nlp.trees.DependencyScoring

public class DependencyScoring
extends Object

Scoring of typed dependencies

Author:
danielcer

Nested Class Summary
 class DependencyScoring.Score
           
 
Field Summary
 List<Set<TypedDependency>> goldDeps
           
 List<Set<TypedDependency>> goldDepsUnlabeled
           
 
Constructor Summary
DependencyScoring(List<Collection<TypedDependency>> goldDeps)
           
DependencyScoring(String filename)
           
 
Method Summary
static void main(String[] args)
           
protected static List<Collection<TypedDependency>> readDeps(String filename)
          Read in typed dependencies.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

goldDeps

public final List<Set<TypedDependency>> goldDeps

goldDepsUnlabeled

public final List<Set<TypedDependency>> goldDepsUnlabeled
Constructor Detail

DependencyScoring

public DependencyScoring(List<Collection<TypedDependency>> goldDeps)

DependencyScoring

public DependencyScoring(String filename)
                  throws IOException
Throws:
IOException
Method Detail

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