edu.cmu.minorthird.ui
Class CommandLineUtil.TrainClassifierParams
java.lang.Object
edu.cmu.minorthird.util.BasicCommandLineProcessor
edu.cmu.minorthird.ui.CommandLineUtil.TrainClassifierParams
- All Implemented Interfaces:
- CommandLineProcessor, Saveable
- Enclosing class:
- CommandLineUtil
public static class CommandLineUtil.TrainClassifierParams
- extends BasicCommandLineProcessor
Parameters for training 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 |
showData
public boolean showData
learnerName
public java.lang.String learnerName
learner
public ClassifierLearner learner
fe
public SpanFeatureExtractor fe
output
public java.lang.String output
CommandLineUtil.TrainClassifierParams
public CommandLineUtil.TrainClassifierParams()
showData
public void showData()
learner
public void learner(java.lang.String s)
output
public void output(java.lang.String s)
fe
public CommandLineProcessor fe(java.lang.String s)
mixup
public void mixup(java.lang.String s)
embed
public void embed(java.lang.String s)
other
public void other(java.lang.String s)
option
public void option(java.lang.String s)
LearnerOp
public void LearnerOp(java.lang.String s)
learnerOp
public void learnerOp(java.lang.String s)
feOp
public void feOp(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
getShowData
public boolean getShowData()
setShowData
public void setShowData(boolean flag)
getLearner
public ClassifierLearner getLearner()
setLearner
public void setLearner(ClassifierLearner learner)
getOutput
public java.lang.String getOutput()
setOutput
public void setOutput(java.lang.String s)
getFeatureExtractor
public SpanFeatureExtractor getFeatureExtractor()
setFeatureExtractor
public void setFeatureExtractor(SpanFeatureExtractor fe)
getMixup
public java.lang.String getMixup()
setMixup
public void setMixup(java.lang.String s)
getEmbeddedAnnotators
public java.lang.String getEmbeddedAnnotators()
setEmbeddedAnnotators
public void setEmbeddedAnnotators(java.lang.String s)
getLearnerHelp
public java.lang.String getLearnerHelp()
getShowDataHelp
public java.lang.String getShowDataHelp()
getFeatureExtractorHelp
public java.lang.String getFeatureExtractorHelp()
getMixupHelp
public java.lang.String getMixupHelp()
getEmbeddedAnnotatorsHelp
public java.lang.String getEmbeddedAnnotatorsHelp()
getOutputHelp
public java.lang.String getOutputHelp()