edu.stanford.nlp.parser.lexparser
Class AbstractEval.DependencyEval

java.lang.Object
  extended by edu.stanford.nlp.parser.lexparser.AbstractEval
      extended by edu.stanford.nlp.parser.lexparser.AbstractEval.DependencyEval
Enclosing class:
AbstractEval

public static class AbstractEval.DependencyEval
extends AbstractEval

Evaluates the dependency accuracy of a tree (based on HeadFinder dependency judgements). CDM Mar 2004: This should be rewritten so as to root a word at an index position; otherwise it doesn't work correctly when you get two identical dependents (like with "I went to Greece to see the ruins").


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.stanford.nlp.parser.lexparser.AbstractEval
AbstractEval.CatErrorEval, AbstractEval.DependencyEval, AbstractEval.RuleErrorEval, AbstractEval.ScoreEval, AbstractEval.TaggingEval
 
Field Summary
 
Fields inherited from class edu.stanford.nlp.parser.lexparser.AbstractEval
runningAverages, str
 
Constructor Summary
AbstractEval.DependencyEval(String str, boolean runningAverages, Filter<String> punctFilter)
           
 
Method Summary
 
Methods inherited from class edu.stanford.nlp.parser.lexparser.AbstractEval
display, display, evaluate, evaluate, getEvalbF1, getEvalbF1Percent, getExact, getExactPercent, getNum, getSentAveF1, precision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEval.DependencyEval

public AbstractEval.DependencyEval(String str,
                                   boolean runningAverages,
                                   Filter<String> punctFilter)
Parameters:
punctFilter - A filter that accepts punctuation words.


Stanford NLP Group