net.sourceforge.nite.datainspection.timespan
Class BoundaryBasedInspection2

java.lang.Object
  extended by net.sourceforge.nite.datainspection.timespan.BoundaryBasedInspection2

public class BoundaryBasedInspection2
extends java.lang.Object

Inspection tool for timeline segmentations (gapped or non gapped) that investigates whether two annotators identified same segment boundaries. DON'T USE THIS TOOL! See the package documentation for a reason why not... This version uses the classifications produced by the DiscretizationBasedBoundaryToClassificationFactory (yes, I know, the name is awful...)


Field Summary
 java.lang.String agentName
          the name of the agent for which you want to analyse the annotations.
 java.lang.String codingName
          the name of the Coding in which the boundaries are to be found
 java.lang.String corpusName
          corpus
 java.lang.String observationName
          observation
 java.lang.String segmentElementName
          the name of the Elements in the Layer in that Coding in which the boundaries are to be found
 java.lang.String segmentsLayer
          the name of the Layer in that Coding in which the boundaries are to be found
 
Constructor Summary
BoundaryBasedInspection2(java.lang.String c, java.lang.String o, java.lang.String codingName, java.lang.String segmentsLayer, java.lang.String segmentElementName, java.lang.String agentName, double thMin, double thMax, int thSteps)
           
 
Method Summary
 void collectBoundaries()
          Collect the derived Boundary annotations for all annotators.
 void collectClassifications(double thMin, double thMax, int thSteps)
          Collect for all threshold values the derived classifications for all annotators, using the DiscretizationBasedBoundaryToClassificationFactory.
 void collectMatrices()
          Collect for all Classification pairs the confusion and coincidence matrices used for calculation of reliability and inspection of confusions.
 void discretizeTimeline()
           
 void generateThresholdValues(double thMin, double thMax, int thSteps)
           
 Clock getClock()
           
 ClockFace getClockFace()
          Returns the clockface of this class.
 NOMWriteCorpus getCorpus()
           
 java.lang.String getCorpusName()
           
 NiteMetaData getMetaData()
           
 java.lang.String getObservationName()
           
 java.util.List search(java.lang.String query)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

corpusName

public java.lang.String corpusName
corpus


observationName

public java.lang.String observationName
observation


codingName

public java.lang.String codingName
the name of the Coding in which the boundaries are to be found


segmentsLayer

public java.lang.String segmentsLayer
the name of the Layer in that Coding in which the boundaries are to be found


segmentElementName

public java.lang.String segmentElementName
the name of the Elements in the Layer in that Coding in which the boundaries are to be found


agentName

public java.lang.String agentName
the name of the agent for which you want to analyse the annotations. If you want to analyse an interaction coding, this parameter should be null

Constructor Detail

BoundaryBasedInspection2

public BoundaryBasedInspection2(java.lang.String c,
                                java.lang.String o,
                                java.lang.String codingName,
                                java.lang.String segmentsLayer,
                                java.lang.String segmentElementName,
                                java.lang.String agentName,
                                double thMin,
                                double thMax,
                                int thSteps)
Method Detail

collectBoundaries

public void collectBoundaries()
Collect the derived Boundary annotations for all annotators. Also initializes allAnnotatorPairs,allUsedAnnotators,actualNoOfAnn.


collectClassifications

public void collectClassifications(double thMin,
                                   double thMax,
                                   int thSteps)
Collect for all threshold values the derived classifications for all annotators, using the DiscretizationBasedBoundaryToClassificationFactory.


collectMatrices

public void collectMatrices()
Collect for all Classification pairs the confusion and coincidence matrices used for calculation of reliability and inspection of confusions.


getCorpusName

public java.lang.String getCorpusName()

getObservationName

public java.lang.String getObservationName()

getCorpus

public NOMWriteCorpus getCorpus()

getMetaData

public NiteMetaData getMetaData()

getClock

public Clock getClock()

getClockFace

public ClockFace getClockFace()
Returns the clockface of this class. A clockface is the 'play control panel' for the video and audio, and in this tool for the virtual meeting animation as well. Before you initialize this, you must have at least a mainframe, a desktop and an initialized corpus.


generateThresholdValues

public void generateThresholdValues(double thMin,
                                    double thMax,
                                    int thSteps)

discretizeTimeline

public void discretizeTimeline()

search

public java.util.List search(java.lang.String query)