edu.cmu.minorthird.ui
Class CommandLineUtil.ExtractionSignalParams

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

public static class CommandLineUtil.ExtractionSignalParams
extends BasicCommandLineProcessor

Parameters encoding the 'training signal' for extraction learning.


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.cmu.minorthird.util.CommandLineProcessor
CommandLineProcessor.Configurable
 
Field Summary
 java.lang.String spanProp
           
protected  java.lang.String spanPropString
           
 java.lang.String spanType
           
 
Constructor Summary
CommandLineUtil.ExtractionSignalParams()
          Not recommended, but required for bean-shell like visualization
CommandLineUtil.ExtractionSignalParams(CommandLineUtil.BaseParams base)
           
 
Method Summary
 java.lang.Object[] getAllowedSpanPropValues()
           
 java.lang.Object[] getAllowedSpanTypeValues()
           
 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 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
Constructor Detail

CommandLineUtil.ExtractionSignalParams

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


CommandLineUtil.ExtractionSignalParams

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

spanType

public void spanType(java.lang.String s)

spanProp

public void spanProp(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

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)

getSpanTypeHelp

public java.lang.String getSpanTypeHelp()

getSpanPropHelp

public java.lang.String getSpanPropHelp()