edu.cmu.minorthird.ui
Class CommandLineUtil.TrainTaggerParams
java.lang.Object
edu.cmu.minorthird.util.BasicCommandLineProcessor
edu.cmu.minorthird.ui.CommandLineUtil.TrainTaggerParams
- All Implemented Interfaces:
- CommandLineProcessor, Saveable
- Enclosing class:
- CommandLineUtil
public static class CommandLineUtil.TrainTaggerParams
- 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 SequenceClassifierLearner learner
fe
public SpanFeatureExtractor fe
output
public java.lang.String output
showData
public boolean showData
CommandLineUtil.TrainTaggerParams
public CommandLineUtil.TrainTaggerParams()
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)
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 SequenceClassifierLearner getLearner()
setLearner
public void setLearner(SequenceClassifierLearner 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)
getShowData
public boolean getShowData()
setShowData
public void setShowData(boolean flag)
getLearnerHelp
public java.lang.String getLearnerHelp()
getShowDataHelp
public java.lang.String getShowDataHelp()
getFeHelp
public java.lang.String getFeHelp()
getOutputHelp
public java.lang.String getOutputHelp()