edu.cmu.minorthird.ui
Class CommandLineUtil.ClassificationSignalParams

java.lang.Object
  extended by edu.cmu.minorthird.util.BasicCommandLineProcessor
      extended by edu.cmu.minorthird.ui.CommandLineUtil.ClassificationSignalParams
All Implemented Interfaces:
CommandLineProcessor, Saveable
Enclosing class:
CommandLineUtil

public static class CommandLineUtil.ClassificationSignalParams
extends BasicCommandLineProcessor

Parameters encoding the 'training signal' for classification learning.


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.cmu.minorthird.util.CommandLineProcessor
CommandLineProcessor.Configurable
 
Field Summary
 java.lang.String candidateType
           
 java.lang.String spanProp
           
protected  java.lang.String spanPropString
           
 java.lang.String spanType
           
 
Constructor Summary
CommandLineUtil.ClassificationSignalParams()
          Not recommended, but required for bean-shell like visualization
CommandLineUtil.ClassificationSignalParams(CommandLineUtil.BaseParams base)
           
 
Method Summary
 void candidateType(java.lang.String s)
           
 java.lang.Object[] getAllowedCandidateTypeValues()
           
 java.lang.Object[] getAllowedSpanPropValues()
           
 java.lang.Object[] getAllowedSpanTypeValues()
           
 java.lang.String getCandidateType()
           
 java.lang.String getCandidateTypeHelp()
           
 java.lang.String getOutputProp(java.lang.String output)
           
 java.lang.String getOutputType(java.lang.String output)
           
 java.lang.String getSpanProp()
           
 java.lang.String getSpanPropHelp()
           
 java.lang.String getSpanType()
           
 java.lang.String getSpanTypeHelp()
           
protected  java.lang.String safeGet(java.lang.String s, java.lang.String def)
           
protected  java.lang.String safePut(java.lang.String s, java.lang.String def)
           
 void setCandidateType(java.lang.String s)
           
 void setSpanProp(java.lang.String p)
           
 void setSpanType(java.lang.String t)
           
 void spanProp(java.lang.String s)
           
 void spanType(java.lang.String s)
           
 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

spanPropString

protected java.lang.String spanPropString

spanType

public java.lang.String spanType

spanProp

public java.lang.String spanProp

candidateType

public java.lang.String candidateType
Constructor Detail

CommandLineUtil.ClassificationSignalParams

public CommandLineUtil.ClassificationSignalParams()
Not recommended, but required for bean-shell like visualization


CommandLineUtil.ClassificationSignalParams

public CommandLineUtil.ClassificationSignalParams(CommandLineUtil.BaseParams base)
Method Detail

spanType

public void spanType(java.lang.String s)

spanProp

public void spanProp(java.lang.String s)

candidateType

public void candidateType(java.lang.String s)

getOutputType

public java.lang.String getOutputType(java.lang.String output)

getOutputProp

public java.lang.String getOutputProp(java.lang.String output)

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

getSpanType

public java.lang.String getSpanType()

setSpanType

public void setSpanType(java.lang.String t)

getSpanProp

public java.lang.String getSpanProp()

setSpanProp

public void setSpanProp(java.lang.String p)

getAllowedSpanTypeValues

public java.lang.Object[] getAllowedSpanTypeValues()

getAllowedSpanPropValues

public java.lang.Object[] getAllowedSpanPropValues()

safeGet

protected java.lang.String safeGet(java.lang.String s,
                                   java.lang.String def)

safePut

protected java.lang.String safePut(java.lang.String s,
                                   java.lang.String def)

getCandidateType

public java.lang.String getCandidateType()

setCandidateType

public void setCandidateType(java.lang.String s)

getAllowedCandidateTypeValues

public java.lang.Object[] getAllowedCandidateTypeValues()

getSpanTypeHelp

public java.lang.String getSpanTypeHelp()

getSpanPropHelp

public java.lang.String getSpanPropHelp()

getCandidateTypeHelp

public java.lang.String getCandidateTypeHelp()