edu.cmu.minorthird.ui
Class TestClassifier

java.lang.Object
  extended by edu.cmu.minorthird.ui.UIMain
      extended by edu.cmu.minorthird.ui.TestClassifier
All Implemented Interfaces:
CommandLineProcessor.Configurable, Console.Task

public class TestClassifier
extends UIMain

Test an existing text classifier.

Author:
William Cohen

Field Summary
 
Fields inherited from class edu.cmu.minorthird.ui.UIMain
base, gui, main, viewButton
 
Constructor Summary
TestClassifier()
           
 
Method Summary
 void doMain()
          Do the main action, after setting all parameters.
 CommandLineUtil.TestClassifierParams getAdditionalParameters()
           
 CommandLineProcessor getCLP()
          Produce a command-line processor that configures this object.
 java.lang.Object getMainResult()
          Return the result of the action.
 CommandLineUtil.SaveParams getSaveParameters()
           
 CommandLineUtil.ClassificationSignalParams getSignalParameters()
           
 java.lang.String getTestClassifierHelp()
           
static void main(java.lang.String[] args)
           
 void setAdditionalParameters(CommandLineUtil.TestClassifierParams p)
           
 void setSaveParameters(CommandLineUtil.SaveParams p)
           
 void setSignalParameters(CommandLineUtil.ClassificationSignalParams p)
           
 
Methods inherited from class edu.cmu.minorthird.ui.UIMain
callMain, getBaseParameters, getLabels, helloWorld, noLabelsMessage, setBaseParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestClassifier

public TestClassifier()
Method Detail

getSaveParameters

public CommandLineUtil.SaveParams getSaveParameters()

setSaveParameters

public void setSaveParameters(CommandLineUtil.SaveParams p)

getSignalParameters

public CommandLineUtil.ClassificationSignalParams getSignalParameters()

setSignalParameters

public void setSignalParameters(CommandLineUtil.ClassificationSignalParams p)

getAdditionalParameters

public CommandLineUtil.TestClassifierParams getAdditionalParameters()

setAdditionalParameters

public void setAdditionalParameters(CommandLineUtil.TestClassifierParams p)

getTestClassifierHelp

public java.lang.String getTestClassifierHelp()

getCLP

public CommandLineProcessor getCLP()
Description copied from interface: CommandLineProcessor.Configurable
Produce a command-line processor that configures this object.


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)