public interface IUnitizingAnnotationUnit extends IAnnotationUnit, Comparable<IUnitizingAnnotationUnit>
IAnnotationUnit interface for representing the
annotation units of IUnitizingAnnotationStudys. That is, an
annotation unit that models the position of the unit within the
continuum of an annotation study and the category assigned to this
unit by a certain rater. Implement this interface when measuring
inter-rater agreement using a IUnitizingAgreementMeasure.IAnnotationUnit,
IUnitizingAgreementMeasure,
IUnitizingAnnotationStudy| Modifier and Type | Method and Description |
|---|---|
long |
getEndOffset()
Returns the right delimiter of the annotation unit (i.e., the end
position of the identified segment).
|
long |
getLength()
Returns the length of the annotation unit (i.e., the difference between
the end and start position of the identified segment).
|
long |
getOffset()
Returns the offset of the annotation unit (i.e., the start position
of the identified segment).
|
getCategory, getRaterIdxcompareTolong getOffset()
long getLength()
long getEndOffset()
getOffset() + getLength().Copyright © 2011–2015 Ubiquitous Knowledge Processing (UKP) Lab. All rights reserved.