edu.stanford.nlp.parser.lexparser
Class EvalbFormatWriter

java.lang.Object
  extended by edu.stanford.nlp.parser.lexparser.EvalbFormatWriter

public class EvalbFormatWriter
extends Object


Field Summary
static String DEFAULT_GOLD_FILENAME
           
static String DEFAULT_TEST_FILENAME
           
 
Constructor Summary
EvalbFormatWriter()
           
 
Method Summary
static void closeEVALBfiles()
           
 void closeFiles()
           
static void initEVALBfiles(TreebankLangParserParams tlpParams)
           
 void initFiles(TreebankLangParserParams tlpParams, String testFilename)
           
 void initFiles(TreebankLangParserParams tlpParams, String goldFilename, String testFilename)
           
static void writeEVALBline(Tree gold, Tree test)
           
 void writeTree(Tree test)
           
 void writeTrees(Tree gold, Tree test)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_GOLD_FILENAME

public static final String DEFAULT_GOLD_FILENAME
See Also:
Constant Field Values

DEFAULT_TEST_FILENAME

public static final String DEFAULT_TEST_FILENAME
See Also:
Constant Field Values
Constructor Detail

EvalbFormatWriter

public EvalbFormatWriter()
Method Detail

initFiles

public void initFiles(TreebankLangParserParams tlpParams,
                      String goldFilename,
                      String testFilename)

initFiles

public void initFiles(TreebankLangParserParams tlpParams,
                      String testFilename)

writeTree

public void writeTree(Tree test)

writeTrees

public void writeTrees(Tree gold,
                       Tree test)

closeFiles

public void closeFiles()

initEVALBfiles

public static void initEVALBfiles(TreebankLangParserParams tlpParams)

closeEVALBfiles

public static void closeEVALBfiles()

writeEVALBline

public static void writeEVALBline(Tree gold,
                                  Tree test)


Stanford NLP Group