Class UnitizingAnnotationStudy

java.lang.Object
org.dkpro.statistics.agreement.AnnotationStudy
org.dkpro.statistics.agreement.unitizing.UnitizingAnnotationStudy
All Implemented Interfaces:
java.io.Serializable, IAnnotationStudy, IUnitizingAnnotationStudy

public class UnitizingAnnotationStudy
extends AnnotationStudy
implements IUnitizingAnnotationStudy, java.io.Serializable
Default implementation of the IUnitizingAnnotationStudy interface. Instantiate this class for representing the annotation units of a unitizing study (i.e., an annotation setup in which the (human) raters are asked to identify the boundaries of the annotation units themselves). The standard way of representing the annotation units is using the addUnit(long, long, int, Object) method for each identified segment by each rater.
Author:
Christian M. Meyer
See Also:
IUnitizingAnnotationStudy, IUnitizingAnnotationUnit, Serialized Form
  • Field Details

  • Constructor Details

    • UnitizingAnnotationStudy

      public UnitizingAnnotationStudy​(int length)
      Initializes and empty annotation study for a unitizing task with no raters. Add raters using the AnnotationStudy.addRater(String) method. The basic setup of a unitizing study is identifying units within a given continuum. The continuum is initialized to start at position 0 and end at the given length.
    • UnitizingAnnotationStudy

      public UnitizingAnnotationStudy​(int raterCount, int length)
      Initializes and empty annotation study for a unitizing task with the given number of raters. The basic setup of a unitizing study is identifying units within a given continuum. The continuum is initialized to start at position 0 and end at the given length.
    • UnitizingAnnotationStudy

      public UnitizingAnnotationStudy​(int raterCount, long begin, long length)
      Initializes and empty annotation study for a unitizing task with the given number of raters. The basic setup of a unitizing study is identifying units within a given continuum. The continuum is initialized to start at the given position and end after the specified length (i.e., at position start + length).
  • Method Details