edu.stanford.nlp.pipeline
Class CoreMapAttributeAggregator.MostFreqAggregator
java.lang.Object
edu.stanford.nlp.pipeline.CoreMapAttributeAggregator
edu.stanford.nlp.pipeline.CoreMapAttributeAggregator.MostFreqAggregator
- Enclosing class:
- CoreMapAttributeAggregator
public static final class CoreMapAttributeAggregator.MostFreqAggregator
- extends CoreMapAttributeAggregator
Fields inherited from class edu.stanford.nlp.pipeline.CoreMapAttributeAggregator |
CONCAT, CONCAT_COREMAP, CONCAT_TOKENS, COUNT, DEFAULT_AGGREGATORS, DEFAULT_NUMERIC_AGGREGATORS, DEFAULT_NUMERIC_TOKENS_AGGREGATORS, FIRST, FIRST_NON_NIL, LAST, LAST_NON_NIL, MAX, MIN, MOST_FREQ, SUM |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreMapAttributeAggregator.MostFreqAggregator
public CoreMapAttributeAggregator.MostFreqAggregator()
CoreMapAttributeAggregator.MostFreqAggregator
public CoreMapAttributeAggregator.MostFreqAggregator(Set<Object> set)
aggregate
public Object aggregate(Class key,
List<? extends CoreMap> in)
- Specified by:
aggregate
in class CoreMapAttributeAggregator
Stanford NLP Group