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