for (ScoringModelDeclaration modelDeclaration : declarations) {
String system = modelDeclaration.getSystemId();
if (supportedScoringModels.containsKey(system)) {
ScoringModel model = supportedScoringModels.get(system);
Score score = model.score(document, this, modelDeclaration.getParameters());
scores.add(score);
}
}
}