edu.stanford.nlp.parser.lexparser
Class LabeledConstituentEval.CBEval

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

public static class LabeledConstituentEval.CBEval
extends LabeledConstituentEval


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.stanford.nlp.parser.lexparser.LabeledConstituentEval
LabeledConstituentEval.CBEval
 
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
LabeledConstituentEval.CBEval(String str, boolean runningAverages, TreebankLanguagePack tlp)
           
 
Method Summary
protected  void checkCrossing(Set<Constituent> s1, Set<Constituent> s2)
           
 void display(boolean verbose, PrintWriter pw)
           
 void evaluate(Tree t1, Tree t2, PrintWriter pw)
           
 
Methods inherited from class edu.stanford.nlp.parser.lexparser.LabeledConstituentEval
main, stripLeaves
 
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

LabeledConstituentEval.CBEval

public LabeledConstituentEval.CBEval(String str,
                                     boolean runningAverages,
                                     TreebankLanguagePack tlp)
Method Detail

checkCrossing

protected void checkCrossing(Set<Constituent> s1,
                             Set<Constituent> s2)

evaluate

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

display

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


Stanford NLP Group