edu.cmu.minorthird.ui
Class CommandLineUtil.TrainExtractorParams
java.lang.Object
edu.cmu.minorthird.util.BasicCommandLineProcessor
edu.cmu.minorthird.ui.CommandLineUtil.TrainExtractorParams
- All Implemented Interfaces:
- CommandLineProcessor, Saveable
- Enclosing class:
- CommandLineUtil
public static class CommandLineUtil.TrainExtractorParams
- extends BasicCommandLineProcessor
Parameters for training an extractor.
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 |
learner
public AnnotatorLearner learner
fe
public SpanFeatureExtractor fe
mixup
public java.lang.String mixup
output
public java.lang.String output
CommandLineUtil.TrainExtractorParams
public CommandLineUtil.TrainExtractorParams()
learner
public void learner(java.lang.String s)
output
public void output(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)
feOp
public void feOp(java.lang.String s)
mixup
public void mixup(java.lang.String s)
embed
public void embed(java.lang.String s)
fe
public CommandLineProcessor fe(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
getLearner
public AnnotatorLearner getLearner()
setLearner
public void setLearner(AnnotatorLearner learner)
getOutput
public java.lang.String getOutput()
setOutput
public void setOutput(java.lang.String s)
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()
getMixupHelp
public java.lang.String getMixupHelp()
getEmbeddedAnnotatorsHelp
public java.lang.String getEmbeddedAnnotatorsHelp()
getOutputHelp
public java.lang.String getOutputHelp()