Class UnitizingMatrixPrinter
java.lang.Object
org.dkpro.statistics.agreement.visualization.UnitizingMatrixPrinter
public class UnitizingMatrixPrinter
extends java.lang.Object
Plain-text visualization for unitizing studies. The visualization prints the annotation units of
two raters in a matrix form - similar to the matrices used by Krippendorff (1995: p. 62). This
type of visualization can be used for comparing the boundaries of the units identified by a pair
of raters. By defining a
References:
PrintStream, it is possible to display a study on the console or
to write the results to a text file.References:
- Krippendorff, K.: On the reliability of unitizing contiguous data. Sociological Methodology 25:47–76, 1995.
- Author:
- Christian M. Meyer
- See Also:
IUnitizingAnnotationStudy
-
Constructor Summary
Constructors Constructor Description UnitizingMatrixPrinter() -
Method Summary
Modifier and Type Method Description voidprint(java.io.PrintStream out, IUnitizingAnnotationStudy study, java.lang.Object category, int rater1, int rater2)Print a plain-text representation of the given unitizing study.
-
Constructor Details
-
UnitizingMatrixPrinter
public UnitizingMatrixPrinter()
-
-
Method Details
-
print
public void print(java.io.PrintStream out, IUnitizingAnnotationStudy study, java.lang.Object category, int rater1, int rater2)Print a plain-text representation of the given unitizing study. A matrix can only be printed for two of the raters and for (non-overlapping) units coded with the same category.
-