net.sourceforge.nite.tools.comparison.nonspanning
Class NonSpanningCoderConfig

java.lang.Object
  extended by net.sourceforge.nite.gui.util.AbstractCallableToolConfig
      extended by net.sourceforge.nite.tools.dacoder.DACoderConfig
          extended by net.sourceforge.nite.tools.necoder.NECoderConfig
              extended by net.sourceforge.nite.tools.comparison.nonspanning.NonSpanningCoderConfig

public class NonSpanningCoderConfig
extends NECoderConfig

Coder configuration settings for NonSpanning Comparison display.

Soft config: see NECoderConfig. Hardcoded settings: see overrides below.

Author:
Craig Nicol, University of Edinburgh
See Also:
NonSpanningComparisonDisplay

Constructor Summary
NonSpanningCoderConfig()
           
 
Method Summary
 boolean getAllowNestedNamedEntities()
          Determines whether nested named-entities are permitted (set the corpus setting attribute 'nenesting' to 'true' to permit nesting.
 java.lang.String getAnnotatorLayer()
           
 java.lang.String getCommonLayer()
           
 java.util.List getExtraCodings()
          extracodings is used to load additional trees into the comparison view by defining the root layer.
 java.lang.String getHelpSetName()
          default to true for DACoder, but allow user configuration to override (return the value from AbstractCallableToolConfig) public boolean getAllowTranscriptSelect() { String transelect = getNXTConfig().getGuiSettingValue("transcriptselection"); if (transelect!=null) return super.getAllowTranscriptSelect(); return true; } /** default to true for DACoder, but allow user configuration to override (return the value from AbstractCallableToolConfig) public boolean getAllowAnnotationSelect() { String anselect = getNXTConfig().getGuiSettingValue("annotationselection"); if (anselect!=null) return super.getAllowAnnotationSelect(); return true; } /** default to false for DACoder, but allow user configuration to override (return the value from AbstractCallableToolConfig) public boolean getAllowMultiAgentSelect() { String agselect = getNXTConfig().getGuiSettingValue("multiagentselection"); if (agselect!=null) return super.getAllowMultiAgentSelect(); return false; }
 
Methods inherited from class net.sourceforge.nite.tools.necoder.NECoderConfig
expandOntologyTree, getDisplayedAnnotationNames, getWordlevelSelectionType
 
Methods inherited from class net.sourceforge.nite.tools.dacoder.DACoderConfig
getAddresseeIgnoreAttribute, getAPElementName, getAPGloss, getAPTypeRoot, getDAAGloss, getDAAttributeName, getDAElementName, getDATypeDefault, getDATypeRole, getDATypeRoot, getDefaultAPType, getNEAbbrevAttrib, getNEAttributeName, getNEDisplayAttribute, getNEElementName, getNEMultiplePointers, getNETypeDefault, getNETypePointerRole, getNETypeRoot, getNXTConfigRootName, initDisplayedAnnotationNames, showAdjacencyPairWindows
 
Methods inherited from class net.sourceforge.nite.gui.util.AbstractCallableToolConfig
clearCachedValues, getAllowAnnotationSelect, getAllowMultiAgentSelect, getAllowTranscriptSelect, getApplicationName, getNXTConfig, getSegmentationElementName, getSegmentToTextAttribute, getSegmentToTextDelegate, getTranscriptionAttribute, getTranscriptionLayerName, getTranscriptionToTextDelegate, loadConfig, reloadConfig, setCorpusSettings, setGUISettings, setMetaDataFile, showLogWindows
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonSpanningCoderConfig

public NonSpanningCoderConfig()
Method Detail

getHelpSetName

public java.lang.String getHelpSetName()
Description copied from class: DACoderConfig
default to true for DACoder, but allow user configuration to override (return the value from AbstractCallableToolConfig) public boolean getAllowTranscriptSelect() { String transelect = getNXTConfig().getGuiSettingValue("transcriptselection"); if (transelect!=null) return super.getAllowTranscriptSelect(); return true; } /** default to true for DACoder, but allow user configuration to override (return the value from AbstractCallableToolConfig) public boolean getAllowAnnotationSelect() { String anselect = getNXTConfig().getGuiSettingValue("annotationselection"); if (anselect!=null) return super.getAllowAnnotationSelect(); return true; } /** default to false for DACoder, but allow user configuration to override (return the value from AbstractCallableToolConfig) public boolean getAllowMultiAgentSelect() { String agselect = getNXTConfig().getGuiSettingValue("multiagentselection"); if (agselect!=null) return super.getAllowMultiAgentSelect(); return false; }

Overrides:
getHelpSetName in class NECoderConfig

getExtraCodings

public java.util.List getExtraCodings()
extracodings is used to load additional trees into the comparison view by defining the root layer. Layer names are separated by semicolons. It is not required to list layers included in the hierarchies whose roots are in the annotator or common layers.

Returns:
List of Strings of requested layer names.

getAnnotatorLayer

public java.lang.String getAnnotatorLayer()
Returns:
contents of nsannotatorlayer in corpus settings nsannotatorlayer defines the layer to be compared for differences between annotators. The display may show elements of nsannotatorlayer or elements of one of its children depending on the value of neelementname.

getCommonLayer

public java.lang.String getCommonLayer()
Returns:
contents of nscommonlayer in corpus settings nscommonlayer defines the common data shared by all annotators.

getAllowNestedNamedEntities

public boolean getAllowNestedNamedEntities()
Description copied from class: NECoderConfig
Determines whether nested named-entities are permitted (set the corpus setting attribute 'nenesting' to 'true' to permit nesting.

Overrides:
getAllowNestedNamedEntities in class NECoderConfig