edu.cmu.minorthird.ui
Class CommandLineUtil.TrainTaggerParams

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


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.cmu.minorthird.util.CommandLineProcessor
CommandLineProcessor.Configurable
 
Field Summary
 SpanFeatureExtractor fe
           
 SequenceClassifierLearner learner
           
 java.lang.String output
           
 boolean showData
           
 
Constructor Summary
CommandLineUtil.TrainTaggerParams()
           
 
Method Summary
 CommandLineProcessor fe(java.lang.String s)
           
 SpanFeatureExtractor getFeatureExtractor()
           
 java.lang.String getFeHelp()
           
 SequenceClassifierLearner getLearner()
           
 java.lang.String getLearnerHelp()
           
 java.lang.String getOutput()
           
 java.lang.String getOutputHelp()
           
 boolean getShowData()
           
 java.lang.String getShowDataHelp()
           
 void learner(java.lang.String s)
           
 void output(java.lang.String s)
           
 void setFeatureExtractor(SpanFeatureExtractor fe)
           
 void setLearner(SequenceClassifierLearner learner)
           
 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

learner

public SequenceClassifierLearner learner

fe

public SpanFeatureExtractor fe

output

public java.lang.String output

showData

public boolean showData
Constructor Detail

CommandLineUtil.TrainTaggerParams

public CommandLineUtil.TrainTaggerParams()
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)

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