edu.stanford.nlp.ie.pcfg
Class Tester

java.lang.Object
  |
  +--edu.stanford.nlp.ie.pcfg.Tester

public class Tester
extends Object

Tests IE performance. This class provides a number of functions that can be useful when testing IE performance. Use the main method of this class to test IE system performance.


Field Summary
static int numParses
           
 
Constructor Summary
Tester()
           
 
Method Summary
static void main(String[] args)
           
static void PrintBestParses(Tree tree, List tagSets)
           
static void PrintMissingRules(IEMan ieMan, Tree tree)
           
static void PrintParse(Tree tree, XTagSet ts)
           
static void PrintRules(TBMan tbMan, IEMan ieMan, List sentence, XTagSet guess)
           
static void PrintStats(XTagSet correct, List tagSets)
           
static XTagSet Test(TBMan tbMan, IEMan ieMan, ScoreMan sm, List sentence, boolean verbose)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numParses

public static int numParses
Constructor Detail

Tester

public Tester()
Method Detail

PrintMissingRules

public static void PrintMissingRules(IEMan ieMan,
                                     Tree tree)

PrintParse

public static void PrintParse(Tree tree,
                              XTagSet ts)

PrintBestParses

public static void PrintBestParses(Tree tree,
                                   List tagSets)

PrintStats

public static void PrintStats(XTagSet correct,
                              List tagSets)
                       throws IOException
IOException

Test

public static XTagSet Test(TBMan tbMan,
                           IEMan ieMan,
                           ScoreMan sm,
                           List sentence,
                           boolean verbose)
                    throws IOException
IOException

PrintRules

public static void PrintRules(TBMan tbMan,
                              IEMan ieMan,
                              List sentence,
                              XTagSet guess)

main

public static void main(String[] args)
                 throws IOException
IOException


Stanford NLP Group