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

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

public static class AbstractEval.CatErrorEval
extends AbstractEval

This class counts which categories are over and underproposed in trees.


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
num, runningAverages, str
 
Constructor Summary
AbstractEval.CatErrorEval(String str)
           
 
Method Summary
 void display(boolean verbose, PrintWriter pw)
           
protected  void display(ClassicCounter c, PrintWriter pw)
           
 void evaluate(Tree t1, Tree t2, PrintWriter pw)
           
 
Methods inherited from class edu.stanford.nlp.parser.lexparser.AbstractEval
display, 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.CatErrorEval

public AbstractEval.CatErrorEval(String str)
Method Detail

evaluate

public void evaluate(Tree t1,
                     Tree t2,
                     PrintWriter pw)
Overrides:
evaluate in class AbstractEval

display

protected void display(ClassicCounter c,
                       PrintWriter pw)

display

public void display(boolean verbose,
                    PrintWriter pw)
Overrides:
display in class AbstractEval


Stanford NLP Group