Package | Description |
---|---|
org.dkpro.statistics.agreement.unitizing |
Modifier and Type | Class and Description |
---|---|
class |
UnitizingAnnotationUnit
Default implementation of
IUnitizingAnnotationUnit holding the
rater's index and the category that the rater assigned to this unit as
well as the position of the annotation unit within the continuum of an
annotation study. |
Modifier and Type | Field and Description |
---|---|
protected Set<IUnitizingAnnotationUnit> |
UnitizingAnnotationStudy.units |
Modifier and Type | Method and Description |
---|---|
IUnitizingAnnotationUnit |
UnitizingAnnotationStudy.addUnit(long offset,
long length,
int raterIdx,
Object category)
Creates a new
UnitizingAnnotationUnit and adds it to the
present annotation study. |
protected IUnitizingAnnotationUnit |
UnitizingAnnotationStudy.createUnit(long offset,
long length,
int raterIdx,
Object category) |
static IUnitizingAnnotationUnit |
UnitizingAnnotationStudy.findNextUnit(Iterator<IUnitizingAnnotationUnit> units,
int raterIdx)
Utility method for moving on the cursor of the given iterator until
a unit of the specified rater is returned.
|
static IUnitizingAnnotationUnit |
UnitizingAnnotationStudy.findNextUnit(Iterator<IUnitizingAnnotationUnit> units,
int raterIdx,
Object category)
Utility method for moving on the cursor of the given iterator until
a unit of the specified rater and category is returned.
|
static IUnitizingAnnotationUnit |
UnitizingAnnotationStudy.findNextUnit(Iterator<IUnitizingAnnotationUnit> units,
Object category)
Utility method for moving on the cursor of the given iterator until
a unit of the specified category is returned.
|
Modifier and Type | Method and Description |
---|---|
Iterable<IUnitizingAnnotationUnit> |
UnitizingAnnotationStudy.getUnits() |
Iterable<IUnitizingAnnotationUnit> |
IUnitizingAnnotationStudy.getUnits()
Allows iterating all annotation units of this study.
|
Modifier and Type | Method and Description |
---|---|
void |
UnitizingAnnotationStudy.addUnit(IUnitizingAnnotationUnit unit)
Add the given annotation unit to this study.
|
int |
UnitizingAnnotationUnit.compareTo(IUnitizingAnnotationUnit that) |
Modifier and Type | Method and Description |
---|---|
static IUnitizingAnnotationUnit |
UnitizingAnnotationStudy.findNextUnit(Iterator<IUnitizingAnnotationUnit> units,
int raterIdx)
Utility method for moving on the cursor of the given iterator until
a unit of the specified rater is returned.
|
static IUnitizingAnnotationUnit |
UnitizingAnnotationStudy.findNextUnit(Iterator<IUnitizingAnnotationUnit> units,
int raterIdx,
Object category)
Utility method for moving on the cursor of the given iterator until
a unit of the specified rater and category is returned.
|
static IUnitizingAnnotationUnit |
UnitizingAnnotationStudy.findNextUnit(Iterator<IUnitizingAnnotationUnit> units,
Object category)
Utility method for moving on the cursor of the given iterator until
a unit of the specified category is returned.
|
Copyright © 2011–2015 Ubiquitous Knowledge Processing (UKP) Lab. All rights reserved.