#include <ScoreFunction.hpp>
Inheritance diagram for ScoreFunction:
Public Methods | |
virtual double | matchedTermWeight (const QueryTerm *qTerm, const TextQueryRep *qRep, const DocInfo *info, const DocumentRep *dRep) const |
compute the score contribution of a matched term | |
virtual double | adjustedScore (double origScore, const TextQueryRep *qRep, const DocumentRep *dRep) const |
score adjustment (e.g., appropriate length normalization) |
This is an abstract interface for a retrieval function that can be written as involving a sum over all the matched terms between a query and a document. Many retrieval functions can be rewritten in this form. Please see the API documentation on the Lemur web site for more information about the generic scoring function form.
|
score adjustment (e.g., appropriate length normalization)
Reimplemented in CORIScoreFunc, CosSimScoreFunc, and SimpleKLScoreFunc. |
|
compute the score contribution of a matched term
Reimplemented in OkapiScoreFunc, and SimpleKLScoreFunc. |