edu.cmu.minorthird.ui
Class CommandLineUtil.TrainClassifierParams

java.lang.Object
  extended by edu.cmu.minorthird.util.BasicCommandLineProcessor
      extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.cmu.minorthird.util.CommandLineProcessor
CommandLineProcessor.Configurable
 
Field Summary
 SpanFeatureExtractor fe
           
 ClassifierLearner learner
           
 java.lang.String learnerName
           
 java.lang.String output
           
 boolean showData
           
 
Constructor Summary
CommandLineUtil.TrainClassifierParams()
           
 
Method Summary
 void embed(java.lang.String s)
           
 CommandLineProcessor fe(java.lang.String s)
           
 void feOp(java.lang.String s)
           
 java.lang.String getEmbeddedAnnotators()
           
 java.lang.String getEmbeddedAnnotatorsHelp()
           
 SpanFeatureExtractor getFeatureExtractor()
           
 java.lang.String getFeatureExtractorHelp()
           
 ClassifierLearner getLearner()
           
 java.lang.String getLearnerHelp()
           
 java.lang.String getMixup()
           
 java.lang.String getMixupHelp()
           
 java.lang.String getOutput()
           
 java.lang.String getOutputHelp()
           
 boolean getShowData()
           
 java.lang.String getShowDataHelp()
           
 void learner(java.lang.String s)
           
 void learnerOp(java.lang.String s)
           
 void LearnerOp(java.lang.String s)
           
 void mixup(java.lang.String s)
           
 void option(java.lang.String s)
           
 void other(java.lang.String s)
           
 void output(java.lang.String s)
           
 void setEmbeddedAnnotators(java.lang.String s)
           
 void setFeatureExtractor(SpanFeatureExtractor fe)
           
 void setLearner(ClassifierLearner learner)
           
 void setMixup(java.lang.String s)
           
 void setOutput(java.lang.String s)
           
 void setShowData(boolean flag)
           
 void showData()
           
 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

showData

public boolean showData

learnerName

public java.lang.String learnerName

learner

public ClassifierLearner learner

fe

public SpanFeatureExtractor fe

output

public java.lang.String output
Constructor Detail

CommandLineUtil.TrainClassifierParams

public CommandLineUtil.TrainClassifierParams()
Method Detail

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()