edu.cmu.minorthird.ui
Class CommandLineUtil.ExtractionSignalParams
java.lang.Object
edu.cmu.minorthird.util.BasicCommandLineProcessor
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.
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 |
spanPropString
protected java.lang.String spanPropString
spanType
public java.lang.String spanType
spanProp
public java.lang.String spanProp
CommandLineUtil.ExtractionSignalParams
public CommandLineUtil.ExtractionSignalParams()
- Not recommended, but required for bean-shell like visualization
CommandLineUtil.ExtractionSignalParams
public CommandLineUtil.ExtractionSignalParams(CommandLineUtil.BaseParams base)
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()