Class MapSum
- java.lang.Object
-
- io.outofprintmagazine.nlp.pipeline.scorers.MapScorer
-
- io.outofprintmagazine.nlp.pipeline.scorers.MapSum
-
-
Field Summary
-
Fields inherited from class io.outofprintmagazine.nlp.pipeline.scorers.MapScorer
annotationClass
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,BigDecimal>
aggregateScores(List<Map<String,BigDecimal>> allScores)
protected org.apache.logging.log4j.Logger
getLogger()
-
Methods inherited from class io.outofprintmagazine.nlp.pipeline.scorers.MapScorer
aggregateDocument, getAnnotationClass, score, scoreDocument, scoreSentences, scoreTokens, setAnnotationClass
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.outofprintmagazine.nlp.pipeline.scorers.IScorer
aggregateDocument, score
-
-
-
-
Constructor Detail
-
MapSum
public MapSum()
-
MapSum
public MapSum(Class annotationClass)
-
-
Method Detail
-
getLogger
protected org.apache.logging.log4j.Logger getLogger()
-
aggregateScores
public Map<String,BigDecimal> aggregateScores(List<Map<String,BigDecimal>> allScores)
- Specified by:
aggregateScores
in classMapScorer
-
-