edu.cmu.minorthird.ui
Class CommandLineUtil.SplitterParams

java.lang.Object
  extended by edu.cmu.minorthird.util.BasicCommandLineProcessor
      extended by edu.cmu.minorthird.ui.CommandLineUtil.SplitterParams
All Implemented Interfaces:
CommandLineProcessor, Saveable
Enclosing class:
CommandLineUtil

public static class CommandLineUtil.SplitterParams
extends BasicCommandLineProcessor

Parameters for doing train/test evaluation of a classifier.


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.cmu.minorthird.util.CommandLineProcessor
CommandLineProcessor.Configurable
 
Field Summary
 MonotonicTextLabels labels
           
 boolean showTestDetails
           
 Splitter splitter
           
 
Constructor Summary
CommandLineUtil.SplitterParams()
           
 
Method Summary
 java.lang.Object[] getAllowedTestKeyValues()
           
 boolean getShowTestDetails()
           
 java.lang.String getShowTestDetailsHelp()
           
 Splitter getSplitter()
           
 java.lang.String getSplitterHelp()
           
 java.lang.String getTestFilename()
           
 java.lang.String getTestFilenameHelp()
           
 java.lang.String getTestKey()
           
 void setShowTestDetails(boolean flag)
           
 void setSplitter(Splitter splitter)
           
 void setTestFilename(java.lang.String name)
           
 void setTestKey(java.lang.String key)
           
 void showTestDetails(java.lang.String bool)
           
 void splitter(java.lang.String s)
           
 void SplitterOp(java.lang.String s)
           
 void test(java.lang.String s)
           
 void usage()
          Override this to print a meaningful usage error.
 
Methods inherited from class edu.cmu.minorthird.util.BasicCommandLineProcessor
config, config, consumeArguments, getExtensionFor, getFormatNames, help, main, processArguments, propertyList, propertyValue, restore, saveAs, shouldTerminate, tryToGetCLP, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

splitter

public Splitter splitter

labels

public MonotonicTextLabels labels

showTestDetails

public boolean showTestDetails
Constructor Detail

CommandLineUtil.SplitterParams

public CommandLineUtil.SplitterParams()
Method Detail

splitter

public void splitter(java.lang.String s)

showTestDetails

public void showTestDetails(java.lang.String bool)

test

public void test(java.lang.String s)

SplitterOp

public void SplitterOp(java.lang.String s)

usage

public void usage()
Description copied from class: BasicCommandLineProcessor
Override this to print a meaningful usage error. Default will list all commands other than 'usage', 'help', 'getX', and 'setX'.

Specified by:
usage in interface CommandLineProcessor
Overrides:
usage in class BasicCommandLineProcessor

getTestFilename

public java.lang.String getTestFilename()

setTestFilename

public void setTestFilename(java.lang.String name)

getTestKey

public java.lang.String getTestKey()

setTestKey

public void setTestKey(java.lang.String key)

getAllowedTestKeyValues

public java.lang.Object[] getAllowedTestKeyValues()

getSplitter

public Splitter getSplitter()

setSplitter

public void setSplitter(Splitter splitter)

getShowTestDetails

public boolean getShowTestDetails()

setShowTestDetails

public void setShowTestDetails(boolean flag)

getSplitterHelp

public java.lang.String getSplitterHelp()

getShowTestDetailsHelp

public java.lang.String getShowTestDetailsHelp()

getTestFilenameHelp

public java.lang.String getTestFilenameHelp()