public abstract class CoreMapAttributeAggregator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CoreMapAttributeAggregator.ConcatAggregator |
static class |
CoreMapAttributeAggregator.ConcatCoreMapListAggregator<T extends CoreMap> |
static class |
CoreMapAttributeAggregator.ConcatListAggregator<T> |
static class |
CoreMapAttributeAggregator.MostFreqAggregator |
Modifier and Type | Field and Description |
---|---|
static CoreMapAttributeAggregator |
CONCAT |
static CoreMapAttributeAggregator.ConcatCoreMapListAggregator<CoreMap> |
CONCAT_COREMAP |
static CoreMapAttributeAggregator.ConcatCoreMapListAggregator<CoreLabel> |
CONCAT_TOKENS |
static CoreMapAttributeAggregator |
COUNT |
static java.util.Map<java.lang.Class,CoreMapAttributeAggregator> |
DEFAULT_AGGREGATORS |
static java.util.Map<java.lang.Class,CoreMapAttributeAggregator> |
DEFAULT_NUMERIC_AGGREGATORS |
static java.util.Map<java.lang.Class,CoreMapAttributeAggregator> |
DEFAULT_NUMERIC_TOKENS_AGGREGATORS |
static CoreMapAttributeAggregator |
FIRST |
static CoreMapAttributeAggregator |
FIRST_NON_NIL |
static CoreMapAttributeAggregator |
LAST |
static CoreMapAttributeAggregator |
LAST_NON_NIL |
static CoreMapAttributeAggregator |
MAX |
static CoreMapAttributeAggregator |
MIN |
static CoreMapAttributeAggregator |
MOST_FREQ |
static CoreMapAttributeAggregator |
SUM |
Constructor and Description |
---|
CoreMapAttributeAggregator() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
aggregate(java.lang.Class key,
java.util.List<? extends CoreMap> in) |
static CoreMapAttributeAggregator |
getAggregator(java.lang.String str) |
static java.util.Map<java.lang.Class,CoreMapAttributeAggregator> |
getDefaultAggregators() |
public static final CoreMapAttributeAggregator FIRST_NON_NIL
public static final CoreMapAttributeAggregator FIRST
public static final CoreMapAttributeAggregator LAST_NON_NIL
public static final CoreMapAttributeAggregator LAST
public static final CoreMapAttributeAggregator.ConcatCoreMapListAggregator<CoreLabel> CONCAT_TOKENS
public static final CoreMapAttributeAggregator.ConcatCoreMapListAggregator<CoreMap> CONCAT_COREMAP
public static final CoreMapAttributeAggregator CONCAT
public static final CoreMapAttributeAggregator COUNT
public static final CoreMapAttributeAggregator SUM
public static final CoreMapAttributeAggregator MIN
public static final CoreMapAttributeAggregator MAX
public static final CoreMapAttributeAggregator MOST_FREQ
public static final java.util.Map<java.lang.Class,CoreMapAttributeAggregator> DEFAULT_AGGREGATORS
public static final java.util.Map<java.lang.Class,CoreMapAttributeAggregator> DEFAULT_NUMERIC_AGGREGATORS
public static final java.util.Map<java.lang.Class,CoreMapAttributeAggregator> DEFAULT_NUMERIC_TOKENS_AGGREGATORS
public static java.util.Map<java.lang.Class,CoreMapAttributeAggregator> getDefaultAggregators()
public static CoreMapAttributeAggregator getAggregator(java.lang.String str)
public abstract java.lang.Object aggregate(java.lang.Class key, java.util.List<? extends CoreMap> in)