public abstract class CoreMapAttributeAggregator extends 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 Map<Class,CoreMapAttributeAggregator> |
DEFAULT_AGGREGATORS |
static Map<Class,CoreMapAttributeAggregator> |
DEFAULT_NUMERIC_AGGREGATORS |
static Map<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 Object |
aggregate(Class key,
List<? extends CoreMap> in) |
static CoreMapAttributeAggregator |
getAggregator(String str) |
static Map<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 Map<Class,CoreMapAttributeAggregator> DEFAULT_AGGREGATORS
public static final Map<Class,CoreMapAttributeAggregator> DEFAULT_NUMERIC_AGGREGATORS
public static final Map<Class,CoreMapAttributeAggregator> DEFAULT_NUMERIC_TOKENS_AGGREGATORS
public static Map<Class,CoreMapAttributeAggregator> getDefaultAggregators()
public static CoreMapAttributeAggregator getAggregator(String str)