edu.cmu.minorthird.ui
Class CommandLineUtil.SplitterParams
java.lang.Object
edu.cmu.minorthird.util.BasicCommandLineProcessor
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.
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 |
splitter
public Splitter splitter
labels
public MonotonicTextLabels labels
showTestDetails
public boolean showTestDetails
CommandLineUtil.SplitterParams
public CommandLineUtil.SplitterParams()
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()