edu.stanford.nlp.pipeline
Class CoreMapAttributeAggregator
java.lang.Object
edu.stanford.nlp.pipeline.CoreMapAttributeAggregator
- Direct Known Subclasses:
- CoreMapAttributeAggregator.ConcatAggregator, CoreMapAttributeAggregator.ConcatCoreMapListAggregator, CoreMapAttributeAggregator.ConcatListAggregator, CoreMapAttributeAggregator.MostFreqAggregator
public abstract class CoreMapAttributeAggregator
- extends Object
Functions for aggregating token attributes
- Author:
- Angel Chang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIRST_NON_NIL
public static final CoreMapAttributeAggregator FIRST_NON_NIL
FIRST
public static final CoreMapAttributeAggregator FIRST
LAST_NON_NIL
public static final CoreMapAttributeAggregator LAST_NON_NIL
LAST
public static final CoreMapAttributeAggregator LAST
CONCAT_TOKENS
public static final CoreMapAttributeAggregator.ConcatCoreMapListAggregator<CoreLabel> CONCAT_TOKENS
CONCAT_COREMAP
public static final CoreMapAttributeAggregator.ConcatCoreMapListAggregator<CoreMap> CONCAT_COREMAP
CONCAT
public static final CoreMapAttributeAggregator CONCAT
COUNT
public static final CoreMapAttributeAggregator COUNT
SUM
public static final CoreMapAttributeAggregator SUM
MIN
public static final CoreMapAttributeAggregator MIN
MAX
public static final CoreMapAttributeAggregator MAX
MOST_FREQ
public static final CoreMapAttributeAggregator MOST_FREQ
DEFAULT_AGGREGATORS
public static final Map<Class,CoreMapAttributeAggregator> DEFAULT_AGGREGATORS
DEFAULT_NUMERIC_AGGREGATORS
public static final Map<Class,CoreMapAttributeAggregator> DEFAULT_NUMERIC_AGGREGATORS
DEFAULT_NUMERIC_TOKENS_AGGREGATORS
public static final Map<Class,CoreMapAttributeAggregator> DEFAULT_NUMERIC_TOKENS_AGGREGATORS
CoreMapAttributeAggregator
public CoreMapAttributeAggregator()
getDefaultAggregators
public static Map<Class,CoreMapAttributeAggregator> getDefaultAggregators()
getAggregator
public static CoreMapAttributeAggregator getAggregator(String str)
aggregate
public abstract Object aggregate(Class key,
List<? extends CoreMap> in)
Stanford NLP Group