Package opennlp.dl.doccat.scoring
Interface ClassificationScoringStrategy
-
- All Known Implementing Classes:
AverageClassificationScoringStrategy
public interface ClassificationScoringStrategyUsed to determine the scores of document classification. During classification, documents are separated into smaller parts. The classification is run on each part. Implementations of this interface are used to determine the score from the scores of each individual part.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double[]score(List<double[]> scores)Calculate the final scores based on the scores of the individual document parts.
-
-
-
Method Detail
-
score
double[] score(List<double[]> scores)
Calculate the final scores based on the scores of the individual document parts.- Parameters:
scores- The scores for each individual part of the document.- Returns:
- The calculated scores.
-
-