edu.cmu.minorthird.ui
Class PreprocessTextForClassifier

java.lang.Object
  extended by edu.cmu.minorthird.ui.UIMain
      extended by edu.cmu.minorthird.ui.PreprocessTextForClassifier
All Implemented Interfaces:
CommandLineProcessor.Configurable, Console.Task
Direct Known Subclasses:
PreprocessTextForExtractor

public class PreprocessTextForClassifier
extends UIMain

Preprocess text data for classification.

Author:
William Cohen

Nested Class Summary
 class PreprocessTextForClassifier.LinkFileParams
           
 
Field Summary
protected  Dataset dataset
           
protected  SpanFeatureExtractor fe
           
protected  java.lang.String linkFileName
           
protected  CommandLineUtil.SaveParams save
           
protected  CommandLineUtil.ClassificationSignalParams signal
           
 
Fields inherited from class edu.cmu.minorthird.ui.UIMain
base, gui, main, viewButton
 
Constructor Summary
PreprocessTextForClassifier()
           
 
Method Summary
 void doMain()
          Do the main action, after setting all parameters.
 CommandLineProcessor getCLP()
          Produce a command-line processor that configures this object.
 SpanFeatureExtractor getFeatureExtractor()
           
 java.lang.String getLinkFile()
           
 java.lang.Object getMainResult()
          Return the result of the action.
 CommandLineUtil.ClassificationSignalParams getSignalParameters()
           
static void main(java.lang.String[] args)
           
 void setFeatureExtractor(SpanFeatureExtractor fe)
           
 void setLinkFile(java.lang.String s)
           
 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
 

Field Detail

linkFileName

protected java.lang.String linkFileName

fe

protected SpanFeatureExtractor fe

save

protected CommandLineUtil.SaveParams save

signal

protected CommandLineUtil.ClassificationSignalParams signal

dataset

protected Dataset dataset
Constructor Detail

PreprocessTextForClassifier

public PreprocessTextForClassifier()
Method Detail

getCLP

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


getLinkFile

public java.lang.String getLinkFile()

setLinkFile

public void setLinkFile(java.lang.String s)

getFeatureExtractor

public SpanFeatureExtractor getFeatureExtractor()

setFeatureExtractor

public void setFeatureExtractor(SpanFeatureExtractor fe)

getSignalParameters

public CommandLineUtil.ClassificationSignalParams getSignalParameters()

setSignalParameters

public void setSignalParameters(CommandLineUtil.ClassificationSignalParams p)

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)