Issue 11 in dkpro-statistics: Raise exception if trying to ad incomplete AnnotationItems

1 view
Skip to first unread message

dkpro-st...@googlecode.com

unread,
Nov 28, 2014, 10:03:08 AM11/28/14
to dkpro-stati...@googlegroups.com
Status: Accepted
Owner: chmeyer.de
Labels: Type-Defect Priority-Medium Component-Agreement Milestone-2.0.1

New issue 11 by chmeyer.de: Raise exception if trying to ad incomplete
AnnotationItems
https://code.google.com/p/dkpro-statistics/issues/detail?id=11

Currently, it is possible to add incomplete AnnotationItem:s to a
CodingStudy. That is, annotation items containing less AnnotationUnit:s
than the study's number of raters. Raise exceptions for the marked cases of:

CodingAnnotationStudy study = new CodingAnnotationStudy(3);
study.addItem("B", "A"); // Should raise exception b/c item count != 3
study.addItem("A", "B", "C"); // ok
study.addItem(new String[]{"A", "B", "C"}); // Should raise exception b/c
item count != 3
study.addItemAsArray(new String[]{"A", "B", "C"}); // ok


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

dkpro-st...@googlecode.com

unread,
Dec 5, 2014, 12:28:21 PM12/5/14
to dkpro-stati...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 11 by chmeyer.de: Raise exception if trying to ad
incomplete AnnotationItems
https://code.google.com/p/dkpro-statistics/issues/detail?id=11

r56
Reply all
Reply to author
Forward
0 new messages