edu.cmu.minorthird.ui
Class TrainTestTagger
java.lang.Object
edu.cmu.minorthird.ui.UIMain
edu.cmu.minorthird.ui.TrainTestTagger
- All Implemented Interfaces:
- CommandLineProcessor.Configurable, Console.Task
public class TrainTestTagger
- extends UIMain
Do a train/test experiment for word taggers.
- Author:
- William Cohen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrainTestTagger
public TrainTestTagger()
getCLP
public CommandLineProcessor getCLP()
- Description copied from interface:
CommandLineProcessor.Configurable
- Produce a command-line processor that configures this object.
getSaveParameters
public CommandLineUtil.SaveParams getSaveParameters()
setSaveParameters
public void setSaveParameters(CommandLineUtil.SaveParams base)
getSignalParameters
public CommandLineUtil.TaggerSignalParams getSignalParameters()
setSignalParameters
public void setSignalParameters(CommandLineUtil.TaggerSignalParams signal)
getTrainingParameters
public CommandLineUtil.TrainTaggerParams getTrainingParameters()
setTrainingParameters
public void setTrainingParameters(CommandLineUtil.TrainTaggerParams train)
getSplitterParameters
public CommandLineUtil.SplitterParams getSplitterParameters()
setSplitterParameters
public void setSplitterParameters(CommandLineUtil.SplitterParams trainTest)
doMain
public void doMain()
- Description copied from class:
UIMain
- Do the main action, after setting all parameters.
- Specified by:
doMain
in interface Console.Task
- Specified by:
doMain
in class UIMain
getMainResult
public java.lang.Object getMainResult()
- Description copied from class:
UIMain
- Return the result of the action.
- Specified by:
getMainResult
in interface Console.Task
- Specified by:
getMainResult
in class UIMain
main
public static void main(java.lang.String[] args)